// // SelectArtLayer::selectArt from 0x140322ef0 to 0x140322fac (188 bytes) // // 2 xrefs: // > SelectArtLayer::init @ 0x1403227bb // > @ 0x1406d4ce8 // // 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; // ebx _BOOL8 i; // rbp int *p_m_unknown2; // rcx void (__fastcall *v6)(int *, _BYTE *); // r8 _BYTE *v7; // rdx _BYTE v8[3]; // [rsp+30h] [rbp+8h] BYREF if ( a2 ) a1->m_art = a2->getTag(a2); v3 = 0; for ( i = a1->m_type <= (unsigned int)Ground; v3 < cocos2d::CCArray::count(a1->m_artSprites); ++v3 ) { p_m_unknown2 = &cocos2d::CCArray::objectAtIndex(a1->m_artSprites, v3)[5].m_unknown2; v6 = **(void (__fastcall ***)(int *, _BYTE *))p_m_unknown2; if ( a1->m_art == v3 + i ) { v7 = &unk_140529B78; } else { memset(v8, 125, sizeof(v8)); v7 = v8; } v6(p_m_unknown2, v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source