// // SelectArtLayer::selectArt from 0x56f74c to 0x56f7d6 (138 bytes) // // 1 xrefs: // > SelectArtLayer::init @ 0x570a76 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void SelectArtLayer::selectArt(SelectArtLayer *a1, cocos2d::CCObject *a2) { unsigned int v3; // r5 _BOOL4 v4; // r7 int v5; // r0 int m_art; // r2 unsigned int v7; // r3 bool v8; // zf __int16 *v9; // r1 void (__fastcall *v10)(int, __int16 *); // r3 _DWORD v11[2]; // [sp+0h] [bp-8h] BYREF v11[0] = a1; v11[1] = a2; if ( a2 ) a1->m_art = a2->getTag(a2); v3 = 0; v4 = a1->m_type <= (unsigned int)Ground; while ( v3 < cocos2d::CCArray::count(a1->m_artSprites) ) { v5 = cocos2d::CCArray::objectAtIndex(a1->m_artSprites, v3); m_art = a1->m_art; v7 = v3 + v4; ++v3; v8 = m_art == v7; if ( m_art == v7 ) v9 = &word_9AD82C; else v9 = (__int16 *)v11; v10 = *(void (__fastcall **)(int, __int16 *))(*(_DWORD *)v5 + 472); if ( !v8 ) memset(v11, 125, 3); v10(v5, v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source