{"type": "func", "start": 3177040, "end": 3177054, "name": "AppDelegate::bgScale", "pseudocode": "// \n// AppDelegate::bgScale from 0x307a50 to 0x307a5e (14 bytes)\n// \n// 4 xrefs:\n// > LoadingLayer::init @ 0x30c26c\n// > MenuGameLayer::init @ 0x3aa1e8\n// > GJBaseGameLayer::createBackground @ 0x46d15a\n// > GauntletLayer::init @ 0x4db15a\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nfloat AppDelegate::bgScale(AppDelegate *a1)\n{\n  cocos2d::CCDirector *v1; // r0\n\n  v1 = cocos2d::CCDirector::sharedDirector();\n  return COERCE_FLOAT(cocos2d::CCDirector::getScreenScaleFactorMax(v1));\n}", "assembly": "; \n; AppDelegate::bgScale from 0x307a50 to 0x307a5e (14 bytes)\n; \n; 4 xrefs:\n; > LoadingLayer::init @ 0x30c26c\n; > MenuGameLayer::init @ 0x3aa1e8\n; > GJBaseGameLayer::createBackground @ 0x46d15a\n; > GauntletLayer::init @ 0x4db15a\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R3,LR}                                                ; +0x0, 0x307a50\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x2, 0x307a52\nPOP.W           {R3,LR}                                                ; +0x6, 0x307a56\nB.W             _ZN7cocos2d10CCDirector23getScreenScaleFactorMaxEv; cocos2d::CCDirector::getScreenScaleFactorMax(void) ; +0xa, 0x307a5a", "xrefs": ["LoadingLayer::init @ 0x30c26c", "MenuGameLayer::init @ 0x3aa1e8", "GJBaseGameLayer::createBackground @ 0x46d15a", "GauntletLayer::init @ 0x4db15a"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}