{"type": "func", "start": 4298773004, "end": 4298773100, "name": "GJGarageLayer::onShop", "pseudocode": "// \n// GJGarageLayer::onShop from 0x1003a120c to 0x1003a126c (96 bytes)\n// \n// 1 xrefs:\n// > GJGarageLayer::init @ 0x10039f2b0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:03:46 +0000\n// \n\n__int64 __fastcall GJGarageLayer::onShop(__int64 a1)\n{\n  __int64 v2; // x20\n  __int64 v3; // x0\n  _QWORD *v4; // x0\n  __int64 result; // x0\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = GJShopLayer::scene(0);\n  v4 = cocos2d::CCTransitionMoveInT::create(v3, 0.5);\n  result = cocos2d::CCDirector::replaceScene(v2, v4);\n  if ( (_DWORD)result )\n    return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);\n  return result;\n}", "assembly": "; \n; GJGarageLayer::onShop from 0x1003a120c to 0x1003a126c (96 bytes)\n; \n; 1 xrefs:\n; > GJGarageLayer::init @ 0x10039f2b0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:03:46 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003a120c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003a1210\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003a1214\nMOV             X19, X0                                                ; +0xc, 0x1003a1218\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x1003a121c\nMOV             X20, X0                                                ; +0x14, 0x1003a1220\nMOV             W0, #0                                                 ; +0x18, 0x1003a1224\nBL              GJShopLayer__scene                                     ; +0x1c, 0x1003a1228\nFMOV            S0, #0.5                                               ; +0x20, 0x1003a122c\nBL              cocos2d__CCTransitionMoveInT__create                   ; +0x24, 0x1003a1230\nMOV             X1, X0; lpsrc                                          ; +0x28, 0x1003a1234\nMOV             X0, X20; int                                           ; +0x2c, 0x1003a1238\nBL              cocos2d__CCDirector__replaceScene                      ; +0x30, 0x1003a123c\nCBZ             W0, loc_1003A1260                                      ; +0x34, 0x1003a1240\nLDR             X8, [X19]                                              ; +0x38, 0x1003a1244\nLDR             X2, [X8,#0x430]                                        ; +0x3c, 0x1003a1248\nMOV             X0, X19                                                ; +0x40, 0x1003a124c\nMOV             W1, #0                                                 ; +0x44, 0x1003a1250\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0x1003a1254\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x4c, 0x1003a1258\nBR              X2                                                     ; +0x50, 0x1003a125c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x1003a1260\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x1003a1264\nRET                                                                    ; +0x5c, 0x1003a1268", "xrefs": ["GJGarageLayer::init @ 0x10039f2b0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}