// // SelectArtLayer::onSelectCustom from 0x6a8a5c to 0x6a8ab8 (92 bytes) // // 1 xrefs: // > SelectArtLayer::updateSelectedCustom @ 0x6a9efc // // 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:56:32 +0000 // unsigned int __fastcall SelectArtLayer::onSelectCustom(SelectArtLayer *this, cocos2d::CCObject *a2) { int v3; // r3 unsigned int v4; // r5 unsigned int result; // r0 char *v6; // r0 const char *v7; // r1 if ( a2 ) *((_DWORD *)this + 133) = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); v3 = *((_DWORD *)this + 133); v4 = 0; if ( v3 < 1 ) v3 = 1; if ( v3 >= 3 ) v3 = 3; *((_DWORD *)this + 133) = v3; while ( 1 ) { result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 131)); if ( v4 >= result ) break; v6 = (char *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 131), v4++); if ( *((_DWORD *)this + 133) == v4 ) v7 = "GJ_button_02.png"; else v7 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v6, v7); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source