{"type": "func", "start": 4298555520, "end": 4298555602, "name": "GJGarageLayer::onShop", "pseudocode": "// \n// GJGarageLayer::onShop from 0x10036c080 to 0x10036c0d2 (82 bytes)\n// \n// 1 xrefs:\n// > GJGarageLayer::init @ 0x100369ff4\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 *v2; // r14\n  cocos2d::CCScene *v3; // rax\n  cocos2d::CCTransitionMoveInT *v4; // rax\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = GJShopLayer::scene((ShopType)0);\n  v4 = cocos2d::CCTransitionMoveInT::create(0.5, v3);\n  if ( cocos2d::CCDirector::replaceScene(v2, v4) )\n    ((void (__fastcall *)(GJGarageLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n}", "assembly": "; \n; GJGarageLayer::onShop from 0x10036c080 to 0x10036c0d2 (82 bytes)\n; \n; 1 xrefs:\n; > GJGarageLayer::init @ 0x100369ff4\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    rbp                                                            ; +0x0, 0x10036c080\nmov     rbp, rsp                                                       ; +0x1, 0x10036c081\npush    r14                                                            ; +0x4, 0x10036c084\npush    rbx                                                            ; +0x6, 0x10036c086\nmov     rbx, rdi                                                       ; +0x7, 0x10036c087\ncall    cocos2d__CCDirector__sharedDirector                            ; +0xa, 0x10036c08a\nmov     r14, rax                                                       ; +0xf, 0x10036c08f\nxor     edi, edi                                                       ; +0x12, 0x10036c092\ncall    GJShopLayer__scene                                             ; +0x14, 0x10036c094\nmovss   xmm0, cs:dword_100814FA8                                       ; +0x19, 0x10036c099\nmov     rdi, rax                                                       ; +0x21, 0x10036c0a1\ncall    cocos2d__CCTransitionMoveInT__create                           ; +0x24, 0x10036c0a4\nmov     rdi, r14                                                       ; +0x29, 0x10036c0a9\nmov     rsi, rax                                                       ; +0x2c, 0x10036c0ac\ncall    cocos2d__CCDirector__replaceScene                              ; +0x2f, 0x10036c0af\ntest    al, al                                                         ; +0x34, 0x10036c0b4\njz      short loc_10036C0CD                                            ; +0x36, 0x10036c0b6\nmov     rax, [rbx]                                                     ; +0x38, 0x10036c0b8\nmov     rax, [rax+420h]                                                ; +0x3b, 0x10036c0bb\nmov     rdi, rbx                                                       ; +0x42, 0x10036c0c2\nxor     esi, esi                                                       ; +0x45, 0x10036c0c5\npop     rbx                                                            ; +0x47, 0x10036c0c7\npop     r14                                                            ; +0x48, 0x10036c0c8\npop     rbp                                                            ; +0x4a, 0x10036c0ca\njmp     rax                                                            ; +0x4b, 0x10036c0cb\npop     rbx                                                            ; +0x4d, 0x10036c0cd\npop     r14                                                            ; +0x4e, 0x10036c0ce\npop     rbp                                                            ; +0x50, 0x10036c0d0\nretn                                                                   ; +0x51, 0x10036c0d1", "xrefs": ["GJGarageLayer::init @ 0x100369ff4"], "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"}