// // CCAnimatedSprite::cleanupSprite from 0x3c34d2 to 0x3c3534 (98 bytes) // // 1 xrefs: // > CCAnimatedSprite::loadType @ 0x3c388e // // 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:46:32 +0000 // int __fastcall CCAnimatedSprite::cleanupSprite(CCAnimatedSprite *this) { int v2; // r0 int v3; // r0 SpriteAnimationManager *v4; // r0 int v5; // r0 int result; // r0 v2 = *((_DWORD *)this + 136); if ( v2 ) (*(void (__fastcall **)(int))(*(_DWORD *)v2 + 368))(v2); v3 = *((_DWORD *)this + 135); if ( v3 ) (*(void (__fastcall **)(int))(*(_DWORD *)v3 + 368))(v3); v4 = *((SpriteAnimationManager **)this + 133); if ( v4 ) SpriteAnimationManager::doCleanup(v4); v5 = *((_DWORD *)this + 135); if ( v5 ) (*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 264))(v5, 1); result = *((_DWORD *)this + 136); if ( result ) result = (*(int (__fastcall **)(int, int))(*(_DWORD *)result + 264))(result, 1); *((_DWORD *)this + 137) = 0; *((_DWORD *)this + 133) = 0; *((_DWORD *)this + 135) = 0; *((_DWORD *)this + 136) = 0; *((_DWORD *)this + 134) = 0; return result; }