{"type": "func", "start": 5371301840, "end": 5371301927, "name": "GJGarageLayer::onShop", "pseudocode": "// \n// GJGarageLayer::onShop from 0x140278fd0 to 0x140279027 (87 bytes)\n// \n// 2 xrefs:\n// > GJGarageLayer::init @ 0x140273cff\n// > <???> @ 0x1406d1040\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  struct cocos2d::CCScene *v3; // rax\n  struct cocos2d::CCTransitionMoveInT *v4; // rbx\n  __int64 v5; // rcx\n  cocos2d::CCDirector *v6; // rax\n\n  v3 = GJShopLayer::scene((ShopType)0);\n  v4 = cocos2d::CCTransitionMoveInT::create(0.5, v3);\n  v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5);\n  if ( cocos2d::CCDirector::replaceScene(v6, v4) )\n    a1->setKeypadEnabled(a1, 0);\n}", "assembly": "; \n; GJGarageLayer::onShop from 0x140278fd0 to 0x140279027 (87 bytes)\n; \n; 2 xrefs:\n; > GJGarageLayer::init @ 0x140273cff\n; > <???> @ 0x1406d1040\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140278fd0\npush    rdi                                                            ; +0x5, 0x140278fd5\nsub     rsp, 20h                                                       ; +0x6, 0x140278fd6\nmov     rdi, rcx                                                       ; +0xa, 0x140278fda\nxor     ecx, ecx                                                       ; +0xd, 0x140278fdd\ncall    GJShopLayer__scene                                             ; +0xf, 0x140278fdf\nmovss   xmm0, cs:dword_140622B08                                       ; +0x14, 0x140278fe4\nmov     rdx, rax                                                       ; +0x1c, 0x140278fec\ncall    cs:?create@CCTransitionMoveInT@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionMoveInT::create(float,cocos2d::CCScene *) ; +0x1f, 0x140278fef\nmov     rbx, rax                                                       ; +0x25, 0x140278ff5\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x28, 0x140278ff8\nmov     rcx, rax                                                       ; +0x2e, 0x140278ffe\nmov     rdx, rbx                                                       ; +0x31, 0x140279001\ncall    cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x34, 0x140279004\ntest    al, al                                                         ; +0x3a, 0x14027900a\njz      short loc_14027901C                                            ; +0x3c, 0x14027900c\nmov     rax, [rdi]                                                     ; +0x3e, 0x14027900e\nxor     edx, edx                                                       ; +0x41, 0x140279011\nmov     rcx, rdi                                                       ; +0x43, 0x140279013\ncall    qword ptr [rax+3D0h]                                           ; +0x46, 0x140279016\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4c, 0x14027901c\nadd     rsp, 20h                                                       ; +0x51, 0x140279021\npop     rdi                                                            ; +0x55, 0x140279025\nretn                                                                   ; +0x56, 0x140279026", "xrefs": ["GJGarageLayer::init @ 0x140273cff", "<???> @ 0x1406d1040"], "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"}