// // CreateParticlePopup::onMode from 0xafc518 to 0xafc608 (240 bytes) // // 3 xrefs: // > @ 0xbe048 // > CreateParticlePopup::init @ 0xb01b90 // > @ 0x1545828 // // This function is hookable on this platform (idp: arm, 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 13:01:18 +0000 // __int64 __fastcall CreateParticlePopup::onMode(CreateParticlePopup *this, cocos2d::CCObject *a2) { int v3; // w0 __int64 v4; // x1 ButtonSprite *v5; // x0 const char *v6; // x1 ButtonSprite *v7; // x0 const char *v8; // x1 ButtonSprite *v9; // x0 const char *v10; // x1 v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v4 = *((_QWORD *)this + 99); if ( *((_DWORD *)this + 207) == v3 ) v3 = 0; *((_DWORD *)this + 207) = v3; *(_DWORD *)(v4 + 544) = v3; v5 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 100) + 1072LL))(*((_QWORD *)this + 100)); if ( *((_DWORD *)this + 207) == 1 ) v6 = "GJ_button_01.png"; else v6 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v5, v6); v7 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 101) + 1072LL))(*((_QWORD *)this + 101)); if ( *((_DWORD *)this + 207) == 2 ) v8 = "GJ_button_01.png"; else v8 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v7, v8); v9 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 102) + 1072LL))(*((_QWORD *)this + 102)); if ( *((_DWORD *)this + 207) == 3 ) v10 = "GJ_button_01.png"; else v10 = "GJ_button_04.png"; return ButtonSprite::updateBGImage(v9, v10); }