@HLEFunction(nid=0xB5D96C2A,version=150) public int sceNetAdhocMatchingGetHelloOpt(@CheckArgument("checkMatchingId") int matchingId,TPointer32 optLenAddr,@CanBeNull TPointer optData){
  MatchingObject matchingObject=matchingObjects.get(matchingId);
  int helloOptLen=matchingObject.getHelloOptLen();
  int bufSize=optLenAddr.getValue();
  optLenAddr.setValue(helloOptLen);
  if (helloOptLen > 0 && optData.getAddress() != 0 && bufSize > 0) {
    int length=Math.min(bufSize,helloOptLen);
    writeBytes(optData.getAddress(),length,matchingObject.getHelloOptData(),0);
  }
  return 0;
}

@ HLEFunction ( nid = 0xB5D96C2A , version = 150 ) public int sceNetAdhocMatchingGetHelloOpt ( @ CheckArgument ( "checkMatchingId" ) int matchingId , TPointer32 optLenAddr , @ CanBeNull TPointer optData ) { MatchingObject matchingObject = matchingObjects . get ( matchingId ) ; int helloOptLen = matchingObject . getHelloOptLen ( ) ; int bufSize = optLenAddr . getValue ( ) ; optLenAddr . setValue ( helloOptLen ) ; if ( helloOptLen > 0 && optData . getAddress ( ) != 0 && bufSize > 0 ) { int length = Math . min ( bufSize , helloOptLen ) ; writeBytes ( optData . getAddress ( ) , length , matchingObject . getHelloOptData ( ) , 0 ) ; } return 0 ; }
get the optional hello message
