{"type": "func", "start": 7929704, "end": 7929796, "name": "GJGarageLayer::onShop", "pseudocode": "// \n// GJGarageLayer::onShop from 0x78ff68 to 0x78ffc4 (92 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xbf1d8\n// > GJGarageLayer::init @ 0x799688\n// > <???> @ 0x122ea20\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 GJGarageLayer::onShop(GJGarageLayer *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v3; // x19\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    a1->setKeypadEnabled(a1, 0);\n}", "assembly": "; \n; GJGarageLayer::onShop from 0x78ff68 to 0x78ffc4 (92 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xbf1d8\n; > GJGarageLayer::init @ 0x799688\n; > <???> @ 0x122ea20\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,#-0x20+var_s0]!                          ; +0x0, 0x78ff68\nMOV             X29, SP                                                ; +0x4, 0x78ff6c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x78ff70\nMOV             X20, X0                                                ; +0xc, 0x78ff74\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x10, 0x78ff78\nMOV             X19, X0                                                ; +0x14, 0x78ff7c\nMOV             W0, #0                                                 ; +0x18, 0x78ff80\nBL              _ZN11GJShopLayer5sceneE8ShopType; GJShopLayer::scene(ShopType) ; +0x1c, 0x78ff84\nFMOV            S0, #0.5; float                                        ; +0x20, 0x78ff88\nBL              _ZN7cocos2d19CCTransitionMoveInT6createEfPNS_7CCSceneE; cocos2d::CCTransitionMoveInT::create(float,cocos2d::CCScene *) ; +0x24, 0x78ff8c\nMOV             X1, X0; lpsrc                                          ; +0x28, 0x78ff90\nMOV             X0, X19; this                                          ; +0x2c, 0x78ff94\nBL              _ZN7cocos2d10CCDirector12replaceSceneEPNS_7CCSceneE; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x30, 0x78ff98\nUXTB            W0, W0                                                 ; +0x34, 0x78ff9c\nCBZ             W0, loc_78FFB8                                         ; +0x38, 0x78ffa0\nLDR             X2, [X20]                                              ; +0x3c, 0x78ffa4\nMOV             X0, X20                                                ; +0x40, 0x78ffa8\nMOV             W1, #0                                                 ; +0x44, 0x78ffac\nLDR             X2, [X2,#0x420]                                        ; +0x48, 0x78ffb0\nBLR             X2                                                     ; +0x4c, 0x78ffb4\nLDP             X19, X20, [SP,#var_s10]                                ; +0x50, 0x78ffb8\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x54, 0x78ffbc\nRET                                                                    ; +0x58, 0x78ffc0", "xrefs": ["<???> @ 0xbf1d8", "GJGarageLayer::init @ 0x799688", "<???> @ 0x122ea20"], "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"}