@HLEFunction(nid=0xFA324B4E,version=150) public int sceNetAdhocGameModeUpdateReplica(int id,@CanBeNull TPointer infoAddr){
  checkInitialized();
  for (  GameModeArea gameModeArea : replicaGameModeAreas) {
    if (gameModeArea.id == id) {
      GameModeUpdateInfo gameModeUpdateInfo=new GameModeUpdateInfo();
      if (infoAddr.isNotNull()) {
        gameModeUpdateInfo.read(infoAddr);
      }
      if (gameModeArea.hasNewData()) {
        if (log.isDebugEnabled()) {
          log.debug(String.format("Updating GameMode Area with new data: %s",gameModeArea));
        }
        gameModeArea.writeNewData();
        gameModeArea.resetNewData();
        if (log.isTraceEnabled()) {
          log.trace(String.format("Replica GameMode Area updated: %s",Utilities.getMemoryDump(gameModeArea.addr,gameModeArea.size)));
        }
        gameModeUpdateInfo.updated=1;
      }
 else {
        gameModeUpdateInfo.updated=0;
      }
      if (infoAddr.getAddress() != 0) {
        gameModeUpdateInfo.timeStamp=gameModeArea.getUpdateTimestamp();
        gameModeUpdateInfo.write(Memory.getInstance());
      }
      break;
    }
  }
  return 0;
}

@ HLEFunction ( nid = 0xFA324B4E , version = 150 ) public int sceNetAdhocGameModeUpdateReplica ( int id , @ CanBeNull TPointer infoAddr ) { checkInitialized ( ) ; for ( GameModeArea gameModeArea : replicaGameModeAreas ) { if ( gameModeArea . id == id ) { GameModeUpdateInfo gameModeUpdateInfo = new GameModeUpdateInfo ( ) ; if ( infoAddr . isNotNull ( ) ) { gameModeUpdateInfo . read ( infoAddr ) ; } if ( gameModeArea . hasNewData ( ) ) { if ( log . isDebugEnabled ( ) ) { log . debug ( String . format ( "Updating GameMode Area with new data: %s" , gameModeArea ) ) ; } gameModeArea . writeNewData ( ) ; gameModeArea . resetNewData ( ) ; if ( log . isTraceEnabled ( ) ) { log . trace ( String . format ( "Replica GameMode Area updated: %s" , Utilities . getMemoryDump ( gameModeArea . addr , gameModeArea . size ) ) ) ; } gameModeUpdateInfo . updated = 1 ; } else { gameModeUpdateInfo . updated = 0 ; } if ( infoAddr . getAddress ( ) != 0 ) { gameModeUpdateInfo . timeStamp = gameModeArea . getUpdateTimestamp ( ) ; gameModeUpdateInfo . write ( Memory . getInstance ( ) ) ; } break ; } } return 0 ; }
update peer game object type data .
