{"type": "func", "start": 4298119824, "end": 4298119892, "name": "GJGarageLayer::scene", "pseudocode": "// \n// GJGarageLayer::scene from 0x100301a90 to 0x100301ad4 (68 bytes)\n// \n// 4 xrefs:\n// > LevelInfoLayer::onGarage @ 0x100028ea0\n// > GJShopLayer::onBack @ 0x10014bbec\n// > GJShopLayer::dialogClosed @ 0x10014d688\n// > MenuLayer::onGarage @ 0x100267800\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 *__fastcall GJGarageLayer::scene()\n{\n  char *v0; // x19\n  GJGarageLayer *v1; // x0\n\n  v0 = (char *)cocos2d::CCScene::create();\n  AppDelegate::get()->m_resourceRootPath.m_data.m_long.longStorage = v0;\n  v1 = GJGarageLayer::node();\n  (*(void (__fastcall **)(char *, GJGarageLayer *))(*(_QWORD *)v0 + 440LL))(v0, v1);\n  return (cocos2d::CCScene *)v0;\n}", "assembly": "; \n; GJGarageLayer::scene from 0x100301a90 to 0x100301ad4 (68 bytes)\n; \n; 4 xrefs:\n; > LevelInfoLayer::onGarage @ 0x100028ea0\n; > GJShopLayer::onBack @ 0x10014bbec\n; > GJShopLayer::dialogClosed @ 0x10014d688\n; > MenuLayer::onGarage @ 0x100267800\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100301a90\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100301a94\nADD             X29, SP, #0x10                                         ; +0x8, 0x100301a98\nBL              cocos2d__CCScene__create                               ; +0xc, 0x100301a9c\nMOV             X19, X0                                                ; +0x10, 0x100301aa0\nBL              AppDelegate__get                                       ; +0x14, 0x100301aa4\nSTR             X19, [X0,#0x18]                                        ; +0x18, 0x100301aa8\nBL              GJGarageLayer__node                                    ; +0x1c, 0x100301aac\nMOV             X1, X0                                                 ; +0x20, 0x100301ab0\nLDR             X8, [X19]                                              ; +0x24, 0x100301ab4\nLDR             X8, [X8,#0x1B8]                                        ; +0x28, 0x100301ab8\nMOV             X0, X19                                                ; +0x2c, 0x100301abc\nBLR             X8                                                     ; +0x30, 0x100301ac0\nMOV             X0, X19                                                ; +0x34, 0x100301ac4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x100301ac8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x100301acc\nRET                                                                    ; +0x40, 0x100301ad0", "xrefs": ["LevelInfoLayer::onGarage @ 0x100028ea0", "GJShopLayer::onBack @ 0x10014bbec", "GJShopLayer::dialogClosed @ 0x10014d688", "MenuLayer::onGarage @ 0x100267800"], "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"}