// // SetupPulsePopup::onSelectPulseMode from 0xa45cd8 to 0xa45f10 (568 bytes) // // 5 xrefs: // > SetupPulsePopup::init @ 0xa49008 // > @ 0xac210 // > SetupPulsePopup::init @ 0xa47b74 // > SetupPulsePopup::init @ 0xa47be4 // > @ 0x1544e00 // // 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 12:59:59 +0000 // cocos2d::CCArray *__fastcall SetupPulsePopup::onSelectPulseMode(SetupPulsePopup *this, cocos2d::CCObject *a2) { int v3; // w23 ButtonSprite *v4; // x0 unsigned int v5; // w22 unsigned int v6; // w21 ButtonSprite *v7; // x0 const char *v8; // x1 unsigned int v9; // w20 __int64 v10; // x0 bool v11; // cf unsigned int v12; // w1 unsigned int v13; // w20 __int64 v14; // x0 unsigned int v15; // w1 cocos2d::CCArray *result; // x0 ButtonSprite *v17; // x0 if ( a2 ) { v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v4 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 143) + 1072LL))(*((_QWORD *)this + 143)); if ( v3 ) { ButtonSprite::updateBGImage(v4, "GJ_button_04.png"); v7 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 144) + 1072LL))(*((_QWORD *)this + 144)); if ( v3 == 1 ) { v5 = 1; v6 = 0; v8 = "GJ_button_02.png"; } else { v5 = 0; v6 = 0; v8 = "GJ_button_04.png"; } } else { v5 = 0; v6 = 1; ButtonSprite::updateBGImage(v4, "GJ_button_02.png"); v7 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 144) + 1072LL))(*((_QWORD *)this + 144)); v8 = "GJ_button_04.png"; } } else { v5 = 0; v6 = 0; v3 = -1; v17 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 143) + 1072LL))(*((_QWORD *)this + 143)); ButtonSprite::updateBGImage(v17, "GJ_button_04.png"); v7 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 144) + 1072LL))(*((_QWORD *)this + 144)); v8 = "GJ_button_04.png"; } v9 = 0; ButtonSprite::updateBGImage(v7, v8); while ( 1 ) { v11 = v9 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 131)); v12 = v9++; if ( v11 ) break; v10 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 131), v12); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v10 + 344LL))(v10, v6); } v13 = 0; while ( 1 ) { v11 = v13 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 132)); v15 = v13++; if ( v11 ) break; v14 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 132), v15); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v14 + 344LL))(v14, v5); } (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 151) + 1000LL))(*((_QWORD *)this + 151), v5); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 165) + 1000LL))(*((_QWORD *)this + 165), v6); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 166) + 1000LL))(*((_QWORD *)this + 166), v6); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 167) + 1000LL))(*((_QWORD *)this + 167), v6); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 168) + 1000LL))(*((_QWORD *)this + 168), v6); *((_DWORD *)this + 323) = v3; result = (cocos2d::CCArray *)*((unsigned __int8 *)this + 1300); if ( !*((_BYTE *)this + 1300) ) return SetupPulsePopup::updatePulseMode(this); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source