// // ColorSelectLiveOverlay::onSelectTab from 0x6026ec to 0x6027bc (208 bytes) // // 0 xrefs: // // 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:42 +0000 // void __fastcall ColorSelectLiveOverlay::onSelectTab(ColorSelectLiveOverlay *this, cocos2d::CCObject *a2) { int v4; // r0 int v5; // r2 unsigned int v6; // r5 int v7; // r3 char *v8; // r0 char *v9; // r7 int v10; // r8 const char *v11; // r1 char *v12; // r1 int v13; // [sp+4h] [bp-4h] HIBYTE(v13) = HIBYTE(a2); v4 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2) != 1; if ( *((unsigned __int8 *)this + 644) != v4 ) { v5 = *((_DWORD *)this + 133); v6 = 0; v7 = *((_DWORD *)this + 134); *((_BYTE *)this + 644) = v4; if ( !v4 ) v7 = v5; *((_DWORD *)this + 141) = *(_DWORD *)(v7 + 92); *(_WORD *)((char *)&v13 + 1) = *(_WORD *)(v7 + 69); LOBYTE(v13) = *(_BYTE *)(v7 + 68); ColorSelectLiveOverlay::selectColor((int)this, v13); while ( v6 < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 132)) ) { v8 = (char *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 132), v6++); v9 = v8; v10 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); if ( v10 == (*(int (__fastcall **)(char *))(*(_DWORD *)v9 + 32))(v9) ) v11 = "GJ_button_01.png"; else v11 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v9, v11); } if ( *((_BYTE *)this + 644) ) v12 = (char *)this + 543; else v12 = (char *)this + 540; (*(void (__fastcall **)(_DWORD, char *))(**((_DWORD **)this + 149) + 480))(*((_DWORD *)this + 149), v12); ColorSelectLiveOverlay::updateColorLabel(this); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source