// // EditorUI::editObject from 0x486614 to 0x486f98 (2436 bytes) // // 1 xrefs: // > EditorUI::handleEditorAction @ 0x6f215a // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:49:26 +0000 // GameObject *__fastcall EditorUI::editObject(cocos2d::CCArray **this, cocos2d::CCObject *a2) { GameObject *result; // r0 EditorBuildStats *v4; // r0 EditorSFXManager *v5; // r0 EditorSFXManager *v6; // r0 StartPosObject *v7; // r1 int v8; // r3 _DWORD *v9; // r6 int v10; // r5 int v11; // r7 int v12; // r10 int v13; // r9 int v14; // r1 cocos2d::CCArray *v15; // r2 _BOOL4 isBasicEnterEffect; // r8 cocos2d::CCArray *v17; // r0 int v18; // r11 unsigned int v19; // r0 GameObject *v20; // r0 unsigned int v21; // r1 GameObject **v22; // r6 int (__fastcall *v23)(GameObject **); // r1 int v24; // r0 int v25; // r6 StartPosLayer *v26; // r0 int v27; // r9 int v28; // r0 cocos2d::CCArray *v29; // r2 int v30; // r3 SetupCameraModePopup *v31; // r0 ColorSelectPopup *v32; // r0 char v33; // r3 SetupSFXEditPopup *v34; // r0 SFXTriggerGameObject *v35; // r1 cocos2d::CCArray *v36; // r2 Elf32_Sym *v37; // r3 int v38; // r9 int v39; // r4 int v40; // r3 Elf32_Sym *v41; // r3 Elf32_Sym *v42; // r3 SetupObjectTogglePopup *v43; // r0 int v44; // r3 SetupCameraOffsetTrigger *v45; // r0 GameObject *v46; // r0 GameObject *v47; // r0 cocos2d::CCArray *v48; // r2 bool v49; // [sp+0h] [bp-3Ch] unsigned int i; // [sp+10h] [bp-2Ch] int v51; // [sp+1Ch] [bp-20h] BYREF int v52; // [sp+20h] [bp-1Ch] int v53; // [sp+24h] [bp-18h] int v54; // [sp+28h] [bp-14h] BYREF int v55; // [sp+2Ch] [bp-10h] int v56; // [sp+30h] [bp-Ch] result = (GameObject *)EditorUI::editButtonUsable(this); if ( !result ) return result; v4 = (cocos2d::CCArray *)((char *)*(this + 236) + 12104); *((_DWORD *)v4 + 4) = *((_DWORD *)*(this + 236) + 3030) + 1; v5 = (EditorSFXManager *)EditorBuildStats::noteAction(v4); v6 = (EditorSFXManager *)EditorSFXManager::sharedState(v5); EditorSFXManager::playAction(v6, 107); EditorUI::closeLiveColorSelect((EditorUI *)this); v9 = *(this + 249); if ( !v9 ) { v17 = *(this + 167); if ( !v17 || !cocos2d::CCArray::count(v17) ) { isBasicEnterEffect = 0; v10 = -1; v11 = 0; v12 = 0; v13 = 0; goto LABEL_33; } isBasicEnterEffect = 1; v18 = -1; v11 = 1; v12 = 1; v13 = 1; v10 = -1; for ( i = 0; ; ++i ) { v19 = cocos2d::CCArray::count(*(this + 167)); v8 = i; if ( i >= v19 ) goto LABEL_30; v20 = (GameObject *)cocos2d::CCArray::objectAtIndex(*(this + 167), i); v22 = (GameObject **)v20; if ( v12 && !GameObject::isBasicTrigger(v20) ) v12 = 0; if ( v10 ) { v21 = (unsigned int)v22[223]; if ( v10 == -1 ) { v10 = (int)v22[223]; } else if ( v21 != v10 ) { v10 = 0; } } if ( v18 ) { v23 = *((int (__fastcall **)(GameObject **))*v22 + 225); if ( v18 == -1 ) { v18 = v23(v22); goto LABEL_21; } if ( v23(v22) == v18 ) goto LABEL_21; } v18 = 0; LABEL_21: if ( v13 && !GameObject::isSpawnableTrigger((GameObject *)v22) ) v13 = 0; if ( v11 ) { v21 = (unsigned int)v22[223] - 3006; if ( v21 >= 5 ) v11 = 0; } if ( isBasicEnterEffect ) isBasicEnterEffect = GameObject::isBasicEnterEffect(v22[223], v21); } } v10 = v9[223]; v11 = 0; v12 = 0; v13 = 0; (*(void (__fastcall **)(_DWORD))(*v9 + 900))(*(this + 249)); isBasicEnterEffect = GameObject::isBasicEnterEffect(*((GameObject **)*(this + 249) + 223), v14); LABEL_30: if ( v10 == 142 ) { v24 = SetupCoinLayer::create(*(this + 249), *(this + 167), v15); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } LABEL_33: v25 = (int)*(this + 249); if ( v25 && *(_DWORD *)(v25 + 892) == 31 ) { v26 = *(this + 249); *(_BYTE *)(*(_DWORD *)(v25 + 1648) + 281) = *(_BYTE *)(*((_DWORD *)*(this + 236) + 521) + 281); v24 = StartPosLayer::create(v26, v7); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( (unsigned __int32 *)v10 == &stru_B4C.st_size ) { v24 = SetupRotateGameplayPopup::create(*(this + 249), *(this + 167), (cocos2d::CCArray *)&stru_B4C.st_size); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( (Elf32_Sym *)v10 == (Elf32_Sym *)((char *)&stru_B4C.st_size + 1) ) { v24 = SetupGameplayOffsetPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_B4C.st_size + 1)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( (Elf32_Sym *)v10 == (Elf32_Sym *)((char *)&stru_B4C.st_value + 3) ) { v24 = SetupOptionsTriggerPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_B4C.st_value + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( (unsigned __int16 *)v10 == &stru_E2C.st_shndx ) { v24 = SetupAudioLineGuidePopup::create(*(this + 249), *(this + 167), (cocos2d::CCArray *)&stru_E2C.st_shndx); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( v10 == 3022 ) { v24 = SetupTeleportPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 2), *(unsigned __int8 *)(*((_DWORD *)*(this + 236) + 521) + 281), v49); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( (Elf32_Sym *)v10 == (Elf32_Sym *)((char *)&stru_BBC.st_name + 2) ) { v24 = SetupAreaMoveTriggerPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BBC.st_name + 2)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( v10 == 3008 ) { v24 = SetupAreaTransformTriggerPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BBC.st_name + 2)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( (Elf32_Sym *)v10 == (Elf32_Sym *)((char *)&stru_BBC.st_name + 3) ) { v24 = SetupAreaRotateTriggerPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BBC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( (Elf32_Sym *)v10 == (Elf32_Sym *)((char *)&stru_BBC.st_value + 1) ) { v24 = SetupAreaFadeTriggerPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BBC.st_value + 1)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( (Elf32_Sym *)v10 == (Elf32_Sym *)((char *)&stru_BBC.st_value + 2) ) { v24 = SetupAreaTintTriggerPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BBC.st_value + 2)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( (unsigned int)(v10 - 3011) <= 4 ) { v24 = SetupAreaAnimTriggerPopup::create(*(this + 249), *(this + 167), (cocos2d::CCArray *)v10, v8); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( v10 == 3024 ) { v27 = (int)*(this + 167); v51 = 0; v52 = 0; v53 = 0; std::string::__init(&v51, "Stop Area Trigger", 0x11u); v54 = 0; v55 = 0; v56 = 0; std::string::__init(&v54, "EffectID:", 9u); v28 = SetTargetIDLayer::create(v25, v27, &v51, &v54, 0, 9999, 3024); LABEL_139: v39 = v28; std::string::~string((int)&v54); std::string::~string((int)&v51); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v39 + 656))(v39); } if ( v11 ) { v24 = SetupAreaTriggerPopup::create(*(this + 249), *(this + 167), (cocos2d::CCArray *)(v10 - 3011)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( (unsigned int)(v10 - 3017) <= 4 || (v29 = (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3), (Elf32_Sym *)v10 == (Elf32_Sym *)((char *)&stru_BCC.st_name + 3)) ) { v24 = SetupEnterEffectPopup::create(*(this + 249), *(this + 167), (cocos2d::CCArray *)v10, v8); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( isBasicEnterEffect ) { v24 = SetupEnterTriggerPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } v30 = v10 - 2904; if ( (unsigned int)(v10 - 2904) <= 1 || (v30 = 2907, v10 == 2907) || (v30 = v10 - 2909, (unsigned int)(v10 - 2909) <= 8) || (v30 = v10 - 2919, (unsigned int)(v10 - 2919) <= 5) ) { v24 = SetupShaderEffectPopup::create(*(this + 249), *(this + 167), (cocos2d::CCArray *)v10, v30); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( (unsigned int)(v10 - 3029) <= 2 ) { v24 = SetupArtSwitchPopup::create(*(this + 249), *(this + 167), (cocos2d::CCArray *)v10, v10 - 3029); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } switch ( v10 ) { case 2925: v31 = *(this + 249); LABEL_199: v24 = SetupCameraModePopup::create(v31, *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 1007: v24 = SetupOpacityPopup::create(*(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 1268: v24 = SetupSpawnPopup::create(*(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 1006: v24 = SetupPulsePopup::create(*(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 899: v32 = *(this + 249); LABEL_226: v24 = ColorSelectPopup::create(v32, *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 1049: goto LABEL_187; case 1520: v24 = SetupShakePopup::create(*(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 1585: v24 = SetupAnimationPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3033: v24 = SetupKeyframeAnimPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( (unsigned __int8 *)v10 == &stru_BCC.st_info ) { v24 = SetupKeyframePopup::create(*(this + 249), *(this + 167), *(this + 236), (LevelEditorLayer *)&stru_BCC.st_info); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } switch ( v10 ) { case 3600: v24 = SetupPlatformerEndPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 901: v24 = SetupMoveCommandPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 1346: v24 = SetupRotateCommandPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 1347: v24 = GJFollowCommandLayer::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 1814: v24 = GJPFollowCommandLayer::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3016: v24 = SetupAdvFollowPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3660: v24 = SetupAdvFollowEditPhysicsPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3661: v24 = SetupAdvFollowRetargetPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 2067: v24 = SetupTransformPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 1934: v24 = SetupSongTriggerPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3602: v24 = SetupSFXPopup::create(*(this + 249), *(this + 167), nullptr, 3602); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } v33 = 19; if ( v10 == 3603 ) { v34 = *(this + 249); v35 = *(this + 167); v36 = nullptr; LABEL_119: v24 = SetupSFXEditPopup::create(v34, v35, v36, v33); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } v33 = 21; switch ( v10 ) { case 3605: v35 = *(this + 167); v34 = *(this + 249); v36 = (cocos2d::CCArray *)((char *)&dword_0 + 1); goto LABEL_119; case 3604: v24 = SetupEventLinkPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 1935: v24 = SetupTimeWarpPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 2015: v24 = SetupCameraRotatePopup2::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 2016: v24 = SetupCameraGuidePopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 2069: case 3645: v24 = SetupForceBlockPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 2066: v24 = SetupGravityTriggerPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_BCC.st_name + 3)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( v25 ) { v37 = *(Elf32_Sym **)(v25 + 892); if ( v37 == (Elf32_Sym *)&stru_80C.st_size ) { v24 = SetupRandAdvTriggerPopup::create(*(this + 249), *(this + 167), (cocos2d::CCArray *)&stru_80C.st_size); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } v29 = (cocos2d::CCArray *)(&stru_E0C + 11); if ( v37 == (Elf32_Sym *)((char *)&stru_E0C.st_size + 3) ) { v24 = SetupSequenceTriggerPopup::create(*(this + 249), v7); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } } if ( v10 == 1816 ) { v24 = CollisionBlockPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( v10 == 2999 ) { v24 = SetupMGTrigger::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } v40 = 3606; if ( v10 == 3606 || (v40 = 3612, v10 == 3612) ) { v24 = SetupBGSpeedTrigger::create(*(this + 249), *(this + 167), (cocos2d::CCArray *)v10, v40); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } switch ( v10 ) { case 3613: v24 = UIObjectSettingsPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3662: v38 = (int)*(this + 167); v51 = 0; v52 = 0; v53 = 0; std::string::__init(&v51, "Visibility Link", 0xFu); v54 = 0; v55 = 0; v56 = 0; std::string::__init(&v54, "GroupID:", 8u); v28 = SetTargetIDLayer::create(v25, v38, &v51, &v54, 0, 9999, 3662); goto LABEL_139; case 1932: v24 = SetupPlayerControlPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3655: v24 = SetupObjectControlPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3663: v24 = SetupProgressPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( (unsigned int)(v10 - 200) <= 3 || v10 == 1334 ) { v24 = MultiTriggerPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( v25 ) { v41 = *(Elf32_Sym **)(v25 + 892); if ( v41 == (Elf32_Sym *)((char *)&stru_77C.st_shndx + 1) ) { v24 = SetupEndPopup::create(*(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_77C.st_shndx + 1)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( v41 != (Elf32_Sym *)&stru_70C.st_size ) { if ( v41 == (Elf32_Sym *)((char *)&stru_62C.st_shndx + 1) ) { v24 = SetupTouchTogglePopup::create( *(this + 249), nullptr, (cocos2d::CCArray *)((char *)&stru_62C.st_shndx + 1)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } v29 = (cocos2d::CCArray *)((char *)&stru_63C.st_shndx + 1); if ( v41 == (Elf32_Sym *)((char *)&stru_63C.st_shndx + 1) ) { v24 = SetupCountTriggerPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_63C.st_shndx + 1)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( v10 == 1811 ) { v24 = SetupInstantCountPopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_63C.st_shndx + 1)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } goto LABEL_166; } LABEL_187: v43 = *(this + 249); v44 = *((_DWORD *)*(this + 236) + 521); LABEL_188: v24 = SetupObjectTogglePopup::create(v43, *(this + 167), (cocos2d::CCArray *)*(unsigned __int8 *)(v44 + 281), v44); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } LABEL_166: switch ( v10 ) { case 1817: v24 = SetupPickupTriggerPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3614: v24 = SetupTimerTriggerPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3615: v24 = SetupTimerEventTriggerPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3617: v24 = SetupTimerControlTriggerPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3618: v24 = SetupResetTriggerPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3619: v24 = SetupItemEditTriggerPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3620: v24 = SetupItemCompareTriggerPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3641: v24 = SetupPersistentItemTriggerPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( v25 ) { v42 = *(Elf32_Sym **)(v25 + 892); if ( v42 == (Elf32_Sym *)&stru_76C.st_info ) { v24 = SetupRandTriggerPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( v42 == (Elf32_Sym *)&stru_76C.st_other ) { v24 = SetupZoomTriggerPopup::create(*(this + 249), *(this + 167), (cocos2d::CCArray *)&stru_76C.st_other); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } v29 = (cocos2d::CCArray *)(&stru_76C + 14); if ( v10 != 1914 ) { if ( v42 == (Elf32_Sym *)((char *)&stru_80C.st_name + 2) ) { v24 = SetupCameraEdgePopup::create( *(this + 249), *(this + 167), (cocos2d::CCArray *)((char *)&stru_80C.st_name + 2)); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } v45 = *(this + 249); if ( v42 == &stru_77C ) { v24 = SetupCameraOffsetTrigger::create(v45, *(this + 167), (cocos2d::CCArray *)&stru_77C); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( GameObject::isConfigurablePortal(v45) ) { v31 = *(this + 249); goto LABEL_199; } goto LABEL_200; } LABEL_193: v24 = SetupStaticCameraPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( v10 == 1914 ) goto LABEL_193; LABEL_200: switch ( v10 ) { case 1616: v24 = SetupStopTriggerPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3608: v24 = SetupSpawnParticlePopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 1815: v24 = SetupCollisionTriggerPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3609: v24 = SetupInstantCollisionTriggerPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3640: v24 = SetupCollisionStateTriggerPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); case 3643: v43 = *(this + 249); v44 = *((_DWORD *)*(this + 236) + 521); goto LABEL_188; } if ( v12 || (v46 = *(this + 249)) != nullptr && GameObject::isBasicTrigger(v46) ) { LABEL_217: v24 = EditTriggersPopup::create(*(this + 249), *(this + 167), v29); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } if ( v13 ) { if ( v10 != 2903 ) goto LABEL_217; } else if ( v10 == 1917 ) { goto LABEL_217; } v47 = *(this + 249); if ( v47 && !GameObject::canChangeCustomColor(v47) ) { v32 = *(this + 249); goto LABEL_226; } if ( cocos2d::CCArray::count(*(this + 167)) || (result = *(this + 249)) != nullptr && (result = (GameObject *)GameObject::canChangeCustomColor(result)) != nullptr ) { v24 = CustomizeObjectLayer::create(*(this + 249), *(this + 167), v48); return (GameObject *)(*(int (__fastcall **)(int))(*(_DWORD *)v24 + 656))(v24); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source