{"type": "func", "start": 4298130684, "end": 4298130780, "name": "GJGarageLayer::onShop", "pseudocode": "// \n// GJGarageLayer::onShop from 0x1003044fc to 0x10030455c (96 bytes)\n// \n// 1 xrefs:\n// > GJGarageLayer::init @ 0x1003025c0\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\nvoid __fastcall GJGarageLayer::onShop(GJGarageLayer *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v3; // x20\n  cocos2d::CCScene *v4; // x0\n  cocos2d::CCTransitionMoveInT *v5; // x0\n\n  v3 = cocos2d::CCDirector::sharedDirector();\n  v4 = GJShopLayer::scene((ShopType)0);\n  v5 = cocos2d::CCTransitionMoveInT::create(0.5, v4);\n  if ( cocos2d::CCDirector::replaceScene(v3, v5) )\n    ((void (__fastcall *)(GJGarageLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n}", "assembly": "; \n; GJGarageLayer::onShop from 0x1003044fc to 0x10030455c (96 bytes)\n; \n; 1 xrefs:\n; > GJGarageLayer::init @ 0x1003025c0\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, 0x1003044fc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100304500\nADD             X29, SP, #0x10                                         ; +0x8, 0x100304504\nMOV             X19, X0                                                ; +0xc, 0x100304508\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x10030450c\nMOV             X20, X0                                                ; +0x14, 0x100304510\nMOV             W0, #0                                                 ; +0x18, 0x100304514\nBL              GJShopLayer__scene                                     ; +0x1c, 0x100304518\nFMOV            S0, #0.5                                               ; +0x20, 0x10030451c\nBL              cocos2d__CCTransitionMoveInT__create                   ; +0x24, 0x100304520\nMOV             X1, X0; lpsrc                                          ; +0x28, 0x100304524\nMOV             X0, X20; int                                           ; +0x2c, 0x100304528\nBL              cocos2d__CCDirector__replaceScene                      ; +0x30, 0x10030452c\nCBZ             W0, loc_100304550                                      ; +0x34, 0x100304530\nLDR             X8, [X19]                                              ; +0x38, 0x100304534\nLDR             X2, [X8,#0x420]                                        ; +0x3c, 0x100304538\nMOV             X0, X19                                                ; +0x40, 0x10030453c\nMOV             W1, #0                                                 ; +0x44, 0x100304540\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0x100304544\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x4c, 0x100304548\nBR              X2                                                     ; +0x50, 0x10030454c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x100304550\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x100304554\nRET                                                                    ; +0x5c, 0x100304558", "xrefs": ["GJGarageLayer::init @ 0x1003025c0"], "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"}