// // SetupPulsePopup::onSelectPulseMode from 0x5ec4c0 to 0x5ec5d2 (274 bytes) // // 1 xrefs: // > SetupPulsePopup::init @ 0x5ef0c4 // // 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:54:23 +0000 // _DWORD *__fastcall SetupPulsePopup::onSelectPulseMode(SetupPulsePopup *this, cocos2d::CCObject *a2) { int v3; // r5 char *v4; // r0 const char *v5; // r1 char *v6; // r0 const char *v7; // r1 unsigned int i; // r6 int v9; // r0 unsigned int j; // r6 int v11; // r0 _BOOL4 v12; // r6 _DWORD *result; // r0 int v14; // r3 if ( a2 ) v3 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); else v3 = -1; v4 = (char *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 194) + 536))(*((_DWORD *)this + 194)); if ( v3 ) v5 = "GJ_button_04.png"; else v5 = "GJ_button_02.png"; ButtonSprite::updateBGImage(v4, v5); v6 = (char *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 195) + 536))(*((_DWORD *)this + 195)); if ( v3 == 1 ) v7 = "GJ_button_02.png"; else v7 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v6, v7); for ( i = 0; i < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 182)); ++i ) { v9 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 182), i); (*(void (__fastcall **)(int, bool))(*(_DWORD *)v9 + 172))(v9, v3 == 0); } for ( j = 0; j < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 183)); ++j ) { v11 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 183), j); (*(void (__fastcall **)(int, bool))(*(_DWORD *)v11 + 172))(v11, v3 == 1); } v12 = v3 == 0; (*(void (__fastcall **)(_DWORD, bool))(**((_DWORD **)this + 202) + 500))(*((_DWORD *)this + 202), v3 == 1); (*(void (__fastcall **)(_DWORD, _BOOL4))(**((_DWORD **)this + 223) + 500))(*((_DWORD *)this + 223), v12); (*(void (__fastcall **)(_DWORD, _BOOL4))(**((_DWORD **)this + 224) + 500))(*((_DWORD *)this + 224), v12); (*(void (__fastcall **)(_DWORD, _BOOL4))(**((_DWORD **)this + 225) + 500))(*((_DWORD *)this + 225), v12); result = (_DWORD *)(*(int (__fastcall **)(_DWORD, _BOOL4))(**((_DWORD **)this + 226) + 500))( *((_DWORD *)this + 226), v12); v14 = *((unsigned __int8 *)this + 872); *((_DWORD *)this + 216) = v3; if ( !v14 ) return SetupPulsePopup::updatePulseMode(this); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source