// // GameManager::loadBackgroundAsync from 0x10036c790 to 0x10036c818 (136 bytes) // // 1 xrefs: // > GJBaseGameLayer::swapBackground @ 0x1000f0871 // // 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 // __int64 __fastcall GameManager::loadBackgroundAsync(__int64 a1, int a2) { char v2; // al __int64 result; // rax unsigned int v4; // ebx __int64 v5; // r15 __int64 v6; // rax __int64 CString; // rax char v8; // [rsp+0h] [rbp-20h] v8 = v2; result = 59; if ( a2 < 59 ) result = (unsigned int)a2; v4 = 1; if ( (int)result >= 2 ) v4 = result; if ( !*(_BYTE *)(a1 + 1000) && v4 != *(_DWORD *)(a1 + 980) ) { *(_BYTE *)(a1 + 1000) = 1; v5 = cocos2d::CCTextureCache::sharedTextureCache(a1); v6 = sub_10088E820("game_bg_%02d_001.png", v8); CString = cocos2d::CCString::getCString(v6); return cocos2d::CCTextureCache::addImageAsync(v5, CString, a1, &GameManager::finishedLoadingBGAsync, 0, v4, 0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source