// // SetupTriggerPopup::goToPage from 0x14060b770 to 0x14060b969 (505 bytes) // // 25 xrefs: // > AccountBanPopup::init @ 0x1400a72bc // > SetupRotateCommandPopup::init @ 0x1403af11a // > SetupAdvFollowPopup::init @ 0x14059ca77 // > SetupAdvFollowPopup::updateMode @ 0x14059d0a5 // > SetupAreaMoveTriggerPopup::init @ 0x1405a38ef // > SetupAreaTransformTriggerPopup::init @ 0x1405a5f5c // > SetupAreaRotateTriggerPopup::init @ 0x1405a66cd // > SetupAreaFadeTriggerPopup::init @ 0x1405a6e2c // > SetupAreaTintTriggerPopup::init @ 0x1405a794f // > SetupAreaTriggerPopup::init @ 0x1405a84c1 // > SetupKeyframeAnimPopup::init @ 0x1405ba6d2 // > SetupOptionsTriggerPopup::init @ 0x1405cbf79 // > SetupSFXPopup::init @ 0x1405dd8f8 // > SetupSFXEditPopup::init @ 0x1405df815 // > SetupSongTriggerPopup::init @ 0x1405f30a2 // > SetupSongTriggerPopup::init @ 0x1405f30b1 // > SetupSongTriggerPopup::valueDidChange @ 0x1405f3a0a // > SetupSpawnPopup::init @ 0x1405f4c70 // > SelectEventLayer::init @ 0x1405fd69e // > SetupTriggerPopup::onPage @ 0x14060b6e6 // > TabbedPopupLayer::showTab @ 0x14066cd9a // > TabbedPopupLayer::showTab @ 0x14066cda9 // > @ 0x1408e4d88 // > @ 0x1408e4dc8 // > @ 0x14092fb70 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:35:14 +0000 // unsigned int __fastcall SetupTriggerPopup::goToPage(__int64 a1, signed int a2, char a3) { signed int v5; // ebx unsigned int result; // eax signed int v7; // eax cocos2d::CCArray *v8; // rcx unsigned int v9; // r12d cocos2d::CCArray *v10; // rax cocos2d::CCArray *v11; // rbp bool v12; // r15 unsigned int v13; // edi unsigned int *v14; // rbx int v15; // eax struct cocos2d::CCObject *v16; // rax struct cocos2d::CCObject *v17; // rsi __int64 v18; // rbx unsigned __int8 v19; // al __int64 v20; // rcx unsigned __int8 v21; // r13 __int64 v22; // rcx signed int v23; // [rsp+58h] [rbp+10h] v23 = a2; v5 = a2; result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 896)); if ( !result ) return result; if ( v5 >= (int)(cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 896)) - 1) ) v7 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 896)) - 1; else v7 = v5; if ( v7 < 0 ) { v5 = 0; LABEL_9: v23 = v5; goto LABEL_10; } if ( v5 >= (int)(cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 896)) - 1) ) { v5 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 896)) - 1; goto LABEL_9; } LABEL_10: v8 = *(cocos2d::CCArray **)(a1 + 896); v9 = 0; *(_DWORD *)(a1 + 904) = v5; *(_BYTE *)(a1 + 976) = a3; if ( cocos2d::CCArray::count(v8) ) { do { v10 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 896), v9); v11 = v10; v12 = v9 == v5 && !a3; v13 = 0; if ( cocos2d::CCArray::count(v10) ) { do { v14 = (unsigned int *)cocos2d::CCArray::objectAtIndex(v11, v13); if ( !cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 952), v14[2]) ) (*(void (__fastcall **)(unsigned int *, bool))(*(_QWORD *)v14 + 336LL))(v14, v12); v15 = (*(__int64 (__fastcall **)(unsigned int *))(*(_QWORD *)v14 + 56LL))(v14); v16 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 760), v15); v17 = v16; if ( v16 ) { v18 = *(_QWORD *)v16; v19 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v16 + 344LL))(v16); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(v18 + 920))(v17, v19); } ++v13; } while ( v13 < cocos2d::CCArray::count(v11) ); v5 = v23; } ++v9; } while ( v9 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 896)) ); } v20 = *(_QWORD *)(a1 + 960); v21 = a3 ^ 1; if ( v20 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v20 + 336LL))(v20, v21); v22 = *(_QWORD *)(a1 + 968); if ( v22 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v22 + 336LL))(v22, v21); SetupTriggerPopup::refreshGroupVisibility(a1); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1080LL))(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source