// // SelectArtLayer::onSelectCustom from 0xb6182c to 0xb618f0 (196 bytes) // // 6 xrefs: // > SelectArtLayer::updateSelectedCustom @ 0xb6376c // > @ 0xcdd98 // > SelectArtLayer::init @ 0xb631f8 // > SelectArtLayer::init @ 0xb632e4 // > SelectArtLayer::init @ 0xb633d0 // > @ 0x1546100 // // 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:02:12 +0000 // __int64 __fastcall SelectArtLayer::onSelectCustom(SelectArtLayer *this, cocos2d::CCObject *a2) { int v3; // w0 unsigned int v4; // w19 __int64 result; // x0 bool v6; // cf unsigned int v7; // w1 ButtonSprite *v8; // x0 if ( a2 ) v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); else v3 = *((_DWORD *)this + 171); if ( v3 <= 0 ) v3 = 1; if ( v3 > 3 ) v3 = 3; v4 = 0; *((_DWORD *)this + 171) = v3; while ( 1 ) { result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 84)); v6 = v4 >= (unsigned int)result; v7 = v4++; if ( v6 ) break; while ( 1 ) { v8 = (ButtonSprite *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 84), v7); if ( *((_DWORD *)this + 171) == v4 ) break; ButtonSprite::updateBGImage(v8, "GJ_button_04.png"); result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 84)); v6 = v4 >= (unsigned int)result; v7 = v4++; if ( v6 ) return result; } ButtonSprite::updateBGImage(v8, "GJ_button_02.png"); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source