// // SetupAreaMoveTriggerPopup::onMode from 0x1405a53b0 to 0x1405a550f (351 bytes) // // 2 xrefs: // > SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0x1405a4dcb // > @ 0x14092d548 // // 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:34:38 +0000 // unsigned int __fastcall SetupAreaMoveTriggerPopup::onMode(cocos2d::CCArray **a1, __int64 a2) { int v4; // eax __int64 v5; // r8 unsigned int v6; // esi int v7; // edi unsigned int result; // eax struct cocos2d::CCObject *v9; // rbx __int64 v10; // rdi int v11; // eax const char *v12; // rdx v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); v6 = 0; if ( (unsigned int)(v4 - 2) <= 3 || v4 <= 1 ) v7 = (unsigned int)(v4 - 2) <= 3; else v7 = 2; LOBYTE(v5) = v7 == 0; (*((void (__fastcall **)(cocos2d::CCArray **, __int64, __int64))*a1 + 136))(a1, 99, v5); SetupTriggerPopup::valueChanged(a1, 262); SetupTriggerPopup::valueChanged(a1, 276); SetupTriggerPopup::valueChanged(a1, 283); result = cocos2d::CCArray::count(a1[125]); if ( result ) { do { v9 = cocos2d::CCArray::objectAtIndex(a1[125], v6); v10 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v9 + 952LL))(v9); LODWORD(v9) = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v9 + 56LL))(v9); v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); v12 = "GJ_button_04.png"; if ( (_DWORD)v9 == v11 ) v12 = "GJ_button_02.png"; ButtonSprite::updateBGImage(v10, v12); ++v6; result = cocos2d::CCArray::count(a1[125]); } while ( v6 < result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source