@HLEFunction(nid=0x3278AB0C,version=150) public int sceNetAdhocGameModeCreateReplica(pspNetMacAddress macAddress,TPointer data,int size){
  checkInitialized();
  boolean found=false;
  int result=0;
  for (  GameModeArea gameModeArea : replicaGameModeAreas) {
    if (isSameMacAddress(gameModeArea.macAddress.macAddress,macAddress.macAddress)) {
      gameModeArea.addr=data.getAddress();
      gameModeArea.size=size;
      result=gameModeArea.id;
      found=true;
      break;
    }
  }
  if (!found) {
    GameModeArea gameModeArea=new GameModeArea(macAddress,data.getAddress(),size);
    if (log.isDebugEnabled()) {
      log.debug(String.format("Adding GameMode Replica %s",gameModeArea));
    }
    result=gameModeArea.id;
    replicaGameModeAreas.add(gameModeArea);
  }
  startGameMode();
  return result;
}

@ HLEFunction ( nid = 0x3278AB0C , version = 150 ) public int sceNetAdhocGameModeCreateReplica ( pspNetMacAddress macAddress , TPointer data , int size ) { checkInitialized ( ) ; boolean found = false ; int result = 0 ; for ( GameModeArea gameModeArea : replicaGameModeAreas ) { if ( isSameMacAddress ( gameModeArea . macAddress . macAddress , macAddress . macAddress ) ) { gameModeArea . addr = data . getAddress ( ) ; gameModeArea . size = size ; result = gameModeArea . id ; found = true ; break ; } } if ( ! found ) { GameModeArea gameModeArea = new GameModeArea ( macAddress , data . getAddress ( ) , size ) ; if ( log . isDebugEnabled ( ) ) { log . debug ( String . format ( "Adding GameMode Replica %s" , gameModeArea ) ) ; } result = gameModeArea . id ; replicaGameModeAreas . add ( gameModeArea ) ; } startGameMode ( ) ; return result ; }
create peer game object type data .
