{"type": "func", "start": 6021672, "end": 6021692, "name": "AppDelegate::bgScale", "pseudocode": "// \n// AppDelegate::bgScale from 0x5be228 to 0x5be23c (20 bytes)\n// \n// 5 xrefs:\n// > LoadingLayer::init @ 0x5c534c\n// > MenuGameLayer::init @ 0x6ca05c\n// > GJBaseGameLayer::createBackground @ 0x857100\n// > GauntletLayer::init @ 0x91f4f0\n// > <???> @ 0x874f8\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; // x0\n  float result; // s0\n\n  v1 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::getScreenScaleFactorMax(v1);\n  return result;\n}", "assembly": "; \n; AppDelegate::bgScale from 0x5be228 to 0x5be23c (20 bytes)\n; \n; 5 xrefs:\n; > LoadingLayer::init @ 0x5c534c\n; > MenuGameLayer::init @ 0x6ca05c\n; > GJBaseGameLayer::createBackground @ 0x857100\n; > GauntletLayer::init @ 0x91f4f0\n; > <???> @ 0x874f8\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\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x5be228\nMOV             X29, SP                                                ; +0x4, 0x5be22c\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x8, 0x5be230\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0xc, 0x5be234\nB               _ZN7cocos2d10CCDirector23getScreenScaleFactorMaxEv; cocos2d::CCDirector::getScreenScaleFactorMax(void) ; +0x10, 0x5be238", "xrefs": ["LoadingLayer::init @ 0x5c534c", "MenuGameLayer::init @ 0x6ca05c", "GJBaseGameLayer::createBackground @ 0x857100", "GauntletLayer::init @ 0x91f4f0", "<???> @ 0x874f8"], "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"}