{"type": "func", "start": 4203300, "end": 4203354, "name": "GJGarageLayer::onShop", "pseudocode": "// \n// GJGarageLayer::onShop from 0x402324 to 0x40235a (54 bytes)\n// \n// 0 xrefs:\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; // r5\n  cocos2d::CCScene *v4; // r0\n  cocos2d::CCTransitionMoveInT *v5; // r0\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 0x402324 to 0x40235a (54 bytes)\n; \n; 0 xrefs:\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-R6,LR}                                             ; +0x0, 0x402324\nMOV             R4, R0                                                 ; +0x2, 0x402326\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x4, 0x402328\nMOV             R5, R0                                                 ; +0x8, 0x40232c\nMOVS            R0, #0                                                 ; +0xa, 0x40232e\nBL              _ZN11GJShopLayer5sceneE8ShopType; GJShopLayer::scene(ShopType) ; +0xc, 0x402330\nMOV             R1, R0; float                                          ; +0x10, 0x402334\nMOV.W           R0, #0x3F000000; this                                  ; +0x12, 0x402336\nBL              _ZN7cocos2d19CCTransitionMoveInT6createEfPNS_7CCSceneE; cocos2d::CCTransitionMoveInT::create(float,cocos2d::CCScene *) ; +0x16, 0x40233a\nMOV             R1, R0; lpsrc                                          ; +0x1a, 0x40233e\nMOV             R0, R5; this                                           ; +0x1c, 0x402340\nBL              _ZN7cocos2d10CCDirector12replaceSceneEPNS_7CCSceneE; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x1e, 0x402342\nCBZ             R0, locret_402358                                      ; +0x22, 0x402346\nLDR             R3, [R4]                                               ; +0x24, 0x402348\nMOV             R0, R4                                                 ; +0x26, 0x40234a\nMOVS            R1, #0                                                 ; +0x28, 0x40234c\nPOP.W           {R4-R6,LR}                                             ; +0x2a, 0x40234e\nLDR.W           R3, [R3,#0x210]                                        ; +0x2e, 0x402352\nBX              R3                                                     ; +0x32, 0x402356\nPOP             {R4-R6,PC}                                             ; +0x34, 0x402358", "xrefs": [], "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"}