{"type": "func", "start": 4296320328, "end": 4296320404, "name": "GJShopLayer::scene", "pseudocode": "// \n// GJShopLayer::scene from 0x10014a548 to 0x10014a594 (76 bytes)\n// \n// 2 xrefs:\n// > SecretRewardsLayer::showShop @ 0x1002ee908\n// > GJGarageLayer::onShop @ 0x100304518\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 GJShopLayer::scene(ShopType a1)\n{\n  char *v2; // x20\n  GJShopLayer *v3; // x0\n\n  v2 = (char *)cocos2d::CCScene::create();\n  AppDelegate::get()->m_resourceRootPath.m_data.m_long.longStorage = v2;\n  v3 = GJShopLayer::create(a1);\n  (*(void (__fastcall **)(char *, GJShopLayer *))(*(_QWORD *)v2 + 440LL))(v2, v3);\n  return (cocos2d::CCScene *)v2;\n}", "assembly": "; \n; GJShopLayer::scene from 0x10014a548 to 0x10014a594 (76 bytes)\n; \n; 2 xrefs:\n; > SecretRewardsLayer::showShop @ 0x1002ee908\n; > GJGarageLayer::onShop @ 0x100304518\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, 0x10014a548\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10014a54c\nADD             X29, SP, #0x10                                         ; +0x8, 0x10014a550\nMOV             X19, X0                                                ; +0xc, 0x10014a554\nBL              cocos2d__CCScene__create                               ; +0x10, 0x10014a558\nMOV             X20, X0                                                ; +0x14, 0x10014a55c\nBL              AppDelegate__get                                       ; +0x18, 0x10014a560\nSTR             X20, [X0,#0x18]                                        ; +0x1c, 0x10014a564\nMOV             X0, X19                                                ; +0x20, 0x10014a568\nBL              GJShopLayer__create                                    ; +0x24, 0x10014a56c\nMOV             X1, X0                                                 ; +0x28, 0x10014a570\nLDR             X8, [X20]                                              ; +0x2c, 0x10014a574\nLDR             X8, [X8,#0x1B8]                                        ; +0x30, 0x10014a578\nMOV             X0, X20                                                ; +0x34, 0x10014a57c\nBLR             X8                                                     ; +0x38, 0x10014a580\nMOV             X0, X20                                                ; +0x3c, 0x10014a584\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x10014a588\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x10014a58c\nRET                                                                    ; +0x48, 0x10014a590", "xrefs": ["SecretRewardsLayer::showShop @ 0x1002ee908", "GJGarageLayer::onShop @ 0x100304518"], "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"}