{"type": "func", "start": 4203892, "end": 4203926, "name": "GJGarageLayer::scene", "pseudocode": "// \n// GJGarageLayer::scene from 0x402574 to 0x402596 (34 bytes)\n// \n// 5 xrefs:\n// > MenuLayer::onGarage @ 0x30a718\n// > LevelInfoLayer::onGarage @ 0x3b171a\n// > GJShopLayer::onBack @ 0x4e1c36\n// > GJShopLayer::dialogClosed @ 0x4e1dc8\n// > WorldSelectLayer::onGarage @ 0x4fcc5e\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\ncocos2d::CCScene *GJGarageLayer::scene()\n{\n  cocos2d::CCScene *v0; // r4\n  GJGarageLayer *v1; // r0\n\n  v0 = cocos2d::CCScene::create();\n  AppDelegate::get()->cocos2d::CCSceneDelegate::__vftable = (cocos2d::CCSceneDelegate_vtbl *)v0;\n  v1 = GJGarageLayer::node();\n  v0->addChild(v0, v1);\n  return v0;\n}", "assembly": "; \n; GJGarageLayer::scene from 0x402574 to 0x402596 (34 bytes)\n; \n; 5 xrefs:\n; > MenuLayer::onGarage @ 0x30a718\n; > LevelInfoLayer::onGarage @ 0x3b171a\n; > GJShopLayer::onBack @ 0x4e1c36\n; > GJShopLayer::dialogClosed @ 0x4e1dc8\n; > WorldSelectLayer::onGarage @ 0x4fcc5e\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            {R4,LR}                                                ; +0x0, 0x402574\nBL              _ZN7cocos2d7CCScene6createEv; cocos2d::CCScene::create(void) ; +0x2, 0x402576\nMOV             R4, R0                                                 ; +0x6, 0x40257a\nBL              _ZN11AppDelegate3getEv; AppDelegate::get(void)         ; +0x8, 0x40257c\nSTR             R4, [R0,#0xC]                                          ; +0xc, 0x402580\nBL              _ZN13GJGarageLayer4nodeEv; GJGarageLayer::node(void)   ; +0xe, 0x402582\nLDR             R3, [R4]                                               ; +0x12, 0x402586\nLDR.W           R3, [R3,#0xDC]                                         ; +0x14, 0x402588\nMOV             R1, R0                                                 ; +0x18, 0x40258c\nMOV             R0, R4                                                 ; +0x1a, 0x40258e\nBLX             R3                                                     ; +0x1c, 0x402590\nMOV             R0, R4                                                 ; +0x1e, 0x402592\nPOP             {R4,PC}                                                ; +0x20, 0x402594", "xrefs": ["MenuLayer::onGarage @ 0x30a718", "LevelInfoLayer::onGarage @ 0x3b171a", "GJShopLayer::onBack @ 0x4e1c36", "GJShopLayer::dialogClosed @ 0x4e1dc8", "WorldSelectLayer::onGarage @ 0x4fcc5e"], "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"}