// // GameManager::getBGTexture from 0x5ec5ac to 0x5ec5f8 (76 bytes) // // 7 xrefs: // > LoadingLayer::init @ 0x5c52f4 // > MenuGameLayer::init @ 0x6c9fd4 // > GJBaseGameLayer::createBackground @ 0x857054 // > GJBaseGameLayer::createBackground @ 0x8571d4 // > GauntletLayer::init @ 0x91f468 // > LevelAreaLayer::init @ 0xa2f828 // > @ 0x84a08 // // 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 *GameManager::getBGTexture(GameManager *a1, int a2) { unsigned int v2; // w19 cocos2d::CCString *v3; // x0 if ( a2 <= 0 ) { v2 = 1; } else if ( a2 > 59 ) { v2 = 59; } else { v2 = a2; } GameManager::loadBackground(a1, v2); v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"game_bg_%02d_001.png", (const char *)v2); return cocos2d::CCString::getCString(v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source