// // GameManager::getBGTexture from 0x100318c88 to 0x100318cd4 (76 bytes) // // 5 xrefs: // > LoadingLayer::init @ 0x1001d60a8 // > GJBaseGameLayer::createBackground @ 0x1001ddc80 // > GauntletLayer::init @ 0x1002323b0 // > LevelAreaLayer::init @ 0x100343d04 // > MenuGameLayer::init @ 0x10039a5e4 // // 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 // const char *__fastcall GameManager::getBGTexture(GameManager *a1, int a2) { int v2; // w8 int v3; // w19 cocos2d::CCString *v4; // x0 if ( a2 >= 59 ) v2 = 59; else v2 = a2; if ( v2 <= 1 ) v3 = 1; else v3 = v2; GameManager::loadBackground(a1, v3); v4 = (cocos2d::CCString *)sub_100268F4C("game_bg_%02d_001.png", v3); return cocos2d::CCString::getCString(v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source