// // GameManager::loadDeathEffect from 0x10036c550 to 0x10036c631 (225 bytes) // // 1 xrefs: // > PlayLayer::setupHasCompleted @ 0x10007b4b8 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 12:29:00 +0000 // void __fastcall GameManager::loadDeathEffect(__int64 a1, int a2, double a3) { int v3; // eax int v4; // r12d int v5; // eax __int64 v6; // rbx __int64 v7; // rdi __int64 CString; // r14 __int64 v9; // r15 __int64 v10; // rax __int64 v11; // rax __int64 v12; // r15 __int64 v13; // rax const char *v14; // rax char v15; // [rsp+0h] [rbp-20h] char v16; // [rsp+0h] [rbp-20h] v3 = 20; if ( a2 < 20 ) v3 = a2; v4 = 1; if ( v3 >= 2 ) v4 = v3; v5 = *(_DWORD *)(a1 + 996); if ( v4 != v5 ) { v6 = a1; if ( v5 >= 2 ) { v7 = sub_10088E820("PlayerExplosion_%02d.png", v15); CString = cocos2d::CCString::getCString(v7); a1 = cocos2d::CCTextureCache::sharedTextureCache(v7); cocos2d::CCTextureCache::removeTextureForKey(a1, CString); } if ( a2 >= 2 ) { v9 = cocos2d::CCTextureCache::sharedTextureCache(a1); v10 = sub_10088E820("PlayerExplosion_%02d.png", v15); v11 = cocos2d::CCString::getCString(v10); cocos2d::CCTextureCache::addImage(v9, v11, 0); v12 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v13 = sub_10088E820("PlayerExplosion_%02d.plist", v16); v14 = (const char *)cocos2d::CCString::getCString(v13); cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_2(v12, v14, a3); } *(_DWORD *)(v6 + 996) = v4; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source