// // ColorSelectPopup::closeColorSelect from 0x4df2b2 to 0x4df3b8 (262 bytes) // // 1 xrefs: // > ColorSelectPopup::keyBackClicked @ 0x4df3ba // // 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:50:59 +0000 // int __fastcall ColorSelectPopup::closeColorSelect(ColorSelectPopup *this, cocos2d::CCObject *a2) { int v3; // r3 int v4; // r3 GameManager *updated; // r0 int v6; // r3 _DWORD *v7; // r3 int v8; // r0 void (__fastcall ***v9)(_DWORD, ColorSelectPopup *); // r0 int v11; // [sp+4h] [bp-Ch] int v12; // [sp+8h] [bp-8h] int v13; // [sp+Ch] [bp-4h] v3 = *((_DWORD *)this + 197); if ( v3 ) { *(_DWORD *)(v3 + 420) = 0; (*(void (__fastcall **)(_DWORD))(**((_DWORD **)this + 197) + 580))(*((_DWORD *)this + 197)); } v4 = *((_DWORD *)this + 212); if ( v4 ) { *(_DWORD *)(v4 + 420) = 0; (*(void (__fastcall **)(_DWORD))(**((_DWORD **)this + 212) + 580))(*((_DWORD *)this + 212)); } *(_DWORD *)(*((_DWORD *)this + 211) + 420) = 0; (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 211) + 580))(*((_DWORD *)this + 211), 0); *(_DWORD *)(*((_DWORD *)this + 216) + 420) = 0; (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 216) + 580))(*((_DWORD *)this + 216), 0); *(_DWORD *)(*((_DWORD *)this + 217) + 420) = 0; (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 217) + 580))(*((_DWORD *)this + 217), 0); *(_DWORD *)(*((_DWORD *)this + 218) + 420) = 0; (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 218) + 580))(*((_DWORD *)this + 218), 0); *(_DWORD *)(*((_DWORD *)this + 219) + 420) = 0; updated = (GameManager *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 219) + 580))( *((_DWORD *)this + 219), 0); v6 = *((_DWORD *)this + 204); if ( !*(_BYTE *)(v6 + 308) ) { v7 = (_DWORD *)(v6 + 292); v11 = v7[1]; v12 = v7[2]; v13 = v7[3]; *((_DWORD *)this + 205) = *v7; *((_DWORD *)this + 206) = v11; *((_DWORD *)this + 207) = v12; *((_DWORD *)this + 208) = v13; updated = (GameManager *)ColorSelectPopup::updateHSVValue(this); } v8 = GameManager::sharedState(updated); LevelEditorLayer::resetEffectTriggerOptim( *(LevelEditorLayer **)(v8 + 408), *((GameObject **)this + 132), *((cocos2d::CCArray **)this + 133)); (*(void (__fastcall **)(ColorSelectPopup *, _DWORD))(*(_DWORD *)this + 536))(this, 0); v9 = *((void (__fastcall ****)(_DWORD, ColorSelectPopup *))this + 191); if ( v9 ) (**v9)(v9, this); return (*(int (__fastcall **)(ColorSelectPopup *, int))(*(_DWORD *)this + 264))(this, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source