// // SelectArtLayer::selectArt from 0x6a89c8 to 0x6a8a52 (138 bytes) // // 1 xrefs: // > SelectArtLayer::init @ 0x6a9b12 // // 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::selectArt(SelectArtLayer *this, cocos2d::CCObject *a2) { unsigned int v3; // r5 _BOOL4 v4; // r7 unsigned int result; // r0 int v6; // r0 int v7; // r2 unsigned int v8; // r3 bool v9; // zf __int16 *v10; // r1 void (__fastcall *v11)(int, __int16 *); // r3 _DWORD v12[2]; // [sp+0h] [bp-8h] BYREF v12[0] = this; v12[1] = a2; if ( a2 ) *((_DWORD *)this + 132) = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); v3 = 0; v4 = *((_DWORD *)this + 134) <= 1u; while ( 1 ) { result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 130)); if ( v3 >= result ) break; v6 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 130), v3); v7 = *((_DWORD *)this + 132); v8 = v3 + v4; ++v3; v9 = v7 == v8; if ( v7 == v8 ) v10 = &word_BEF9C4; else v10 = (__int16 *)v12; v11 = *(void (__fastcall **)(int, __int16 *))(*(_DWORD *)v6 + 480); if ( !v9 ) memset(v12, 125, 3); v11(v6, v10); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source