// // SelectArtLayer::selectArt from 0xa341e4 to 0xa342e8 (260 bytes) // // 4 xrefs: // > SelectArtLayer::init @ 0xa35e70 // > @ 0x65e38 // > SelectArtLayer::init @ 0xa35ca0 // > @ 0x122b498 // // 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; // w19 _BOOL4 v4; // w22 __int64 v5; // x2 void (*v6)(void); // x2 _BYTE v7[3]; // [xsp+50h] [xbp+50h] BYREF if ( a2 ) a1->m_art = a2->getTag(a2); v3 = 0; v4 = a1->m_type <= (unsigned int)Ground; while ( v3 < (unsigned int)cocos2d::CCArray::count(a1->m_artSprites) ) { v5 = *(_QWORD *)cocos2d::CCArray::objectAtIndex(a1->m_artSprites, v3); if ( v3 + v4 == a1->m_art ) { ++v3; (*(void (**)(void))(v5 + 944))(); } else { v6 = *(void (**)(void))(v5 + 944); memset(v7, 125, sizeof(v7)); ++v3; v6(); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source