{"type": "func", "start": 4296838792, "end": 4296838988, "name": "GJShopLayer::create", "pseudocode": "// \n// GJShopLayer::create from 0x1001c8e88 to 0x1001c8f4c (196 bytes)\n// \n// 1 xrefs:\n// > GJShopLayer::scene @ 0x1001c8e60\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:00:19 +0000\n// \n\nchar *__fastcall GJShopLayer::create(__int64 a1)\n{\n  char *v2; // x19\n\n  v2 = (char *)operator new(0x210u);\n  cocos2d::CCLayer::CCLayer((__int64)v2);\n  *(_QWORD *)v2 = off_1008EDC18;\n  *((_QWORD *)v2 + 40) = off_1008EE0C0;\n  *((_QWORD *)v2 + 41) = &off_1008EE130;\n  *((_QWORD *)v2 + 42) = off_1008EE148;\n  *((_QWORD *)v2 + 43) = &off_1008EE168;\n  *((_QWORD *)v2 + 44) = off_1008EE190;\n  *((_QWORD *)v2 + 51) = &off_1008EE1C0;\n  *((_QWORD *)v2 + 52) = &off_1008EE1D8;\n  *((_QWORD *)v2 + 53) = off_1008EE1F0;\n  v2[432] = 0;\n  *((_DWORD *)v2 + 114) = 0;\n  *(_OWORD *)(v2 + 440) = 0u;\n  *((_OWORD *)v2 + 29) = 0u;\n  *((_OWORD *)v2 + 30) = 0u;\n  *(_OWORD *)(v2 + 490) = 0u;\n  *((_OWORD *)v2 + 32) = 0u;\n  if ( (unsigned int)GJShopLayer::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; GJShopLayer::create from 0x1001c8e88 to 0x1001c8f4c (196 bytes)\n; \n; 1 xrefs:\n; > GJShopLayer::scene @ 0x1001c8e60\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:00:19 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001c8e88\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001c8e8c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001c8e90\nMOV             X20, X0                                                ; +0xc, 0x1001c8e94\nMOV             W0, #0x210; __sz                                       ; +0x10, 0x1001c8e98\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x1001c8e9c\nMOV             X19, X0                                                ; +0x18, 0x1001c8ea0\nBL              cocos2d__CCLayer__CCLayer                              ; +0x1c, 0x1001c8ea4\nADRL            X8, off_1008EDC18                                      ; +0x20, 0x1001c8ea8\nSTR             X8, [X19]                                              ; +0x28, 0x1001c8eb0\nADD             X9, X8, #(off_1008EE0C0 - 0x1008EDC18)                 ; +0x2c, 0x1001c8eb4\nADD             X10, X8, #(off_1008EE130 - 0x1008EDC18)                ; +0x30, 0x1001c8eb8\nSTP             X9, X10, [X19,#0x140]                                  ; +0x34, 0x1001c8ebc\nADD             X9, X8, #(off_1008EE148 - 0x1008EDC18)                 ; +0x38, 0x1001c8ec0\nADD             X10, X8, #(off_1008EE168 - 0x1008EDC18)                ; +0x3c, 0x1001c8ec4\nSTP             X9, X10, [X19,#0x150]                                  ; +0x40, 0x1001c8ec8\nADD             X9, X8, #(off_1008EE190 - 0x1008EDC18)                 ; +0x44, 0x1001c8ecc\nSTR             X9, [X19,#0x160]                                       ; +0x48, 0x1001c8ed0\nADD             X9, X8, #(off_1008EE1C0 - 0x1008EDC18)                 ; +0x4c, 0x1001c8ed4\nADD             X10, X8, #(off_1008EE1D8 - 0x1008EDC18)                ; +0x50, 0x1001c8ed8\nSTP             X9, X10, [X19,#0x198]                                  ; +0x54, 0x1001c8edc\nADD             X8, X8, #(off_1008EE1F0 - 0x1008EDC18)                 ; +0x58, 0x1001c8ee0\nSTR             X8, [X19,#0x1A8]                                       ; +0x5c, 0x1001c8ee4\nSTRB            WZR, [X19,#0x1B0]                                      ; +0x60, 0x1001c8ee8\nADD             X8, X19, #0x1B8                                        ; +0x64, 0x1001c8eec\nADD             X9, X19, #0x1D0                                        ; +0x68, 0x1001c8ef0\nSTR             WZR, [X19,#0x1C8]                                      ; +0x6c, 0x1001c8ef4\nMOVI            V0.16B, #0                                             ; +0x70, 0x1001c8ef8\nSTR             Q0, [X8]                                               ; +0x74, 0x1001c8efc\nSTP             Q0, Q0, [X19,#0x1D0]                                   ; +0x78, 0x1001c8f00\nSTUR            Q0, [X9,#0x1A]                                         ; +0x7c, 0x1001c8f04\nSTR             Q0, [X19,#0x200]                                       ; +0x80, 0x1001c8f08\nMOV             X0, X19                                                ; +0x84, 0x1001c8f0c\nMOV             X1, X20                                                ; +0x88, 0x1001c8f10\nBL              GJShopLayer__init                                      ; +0x8c, 0x1001c8f14\nCBZ             W0, loc_1001C8F28                                      ; +0x90, 0x1001c8f18\nMOV             X0, X19                                                ; +0x94, 0x1001c8f1c\nBL              cocos2d__CCObject__autorelease                         ; +0x98, 0x1001c8f20\nB               loc_1001C8F3C                                          ; +0x9c, 0x1001c8f24\nLDR             X8, [X19]                                              ; +0xa0, 0x1001c8f28\nLDR             X8, [X8,#0x10]                                         ; +0xa4, 0x1001c8f2c\nMOV             X0, X19                                                ; +0xa8, 0x1001c8f30\nBLR             X8                                                     ; +0xac, 0x1001c8f34\nMOV             X19, #0                                                ; +0xb0, 0x1001c8f38\nMOV             X0, X19                                                ; +0xb4, 0x1001c8f3c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xb8, 0x1001c8f40\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xbc, 0x1001c8f44\nRET                                                                    ; +0xc0, 0x1001c8f48", "xrefs": ["GJShopLayer::scene @ 0x1001c8e60"], "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"}