{"type": "func", "start": 4298171776, "end": 4298172028, "name": "GJShopLayer::create", "pseudocode": "// \n// GJShopLayer::create from 0x10030e580 to 0x10030e67c (252 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 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 12:28:37 +0000\n// \n\nchar *__fastcall GJShopLayer::create(unsigned int a1)\n{\n  char *v1; // rbx\n\n  v1 = (char *)operator new(0x210u);\n  cocos2d::CCLayer::CCLayer(v1);\n  *(_QWORD *)v1 = off_100B1B458;\n  *((_QWORD *)v1 + 40) = off_100B1B900;\n  *((_QWORD *)v1 + 41) = &off_100B1B970;\n  *((_QWORD *)v1 + 42) = off_100B1B988;\n  *((_QWORD *)v1 + 43) = off_100B1B9A8;\n  *((_QWORD *)v1 + 44) = off_100B1B9D0;\n  *((_QWORD *)v1 + 51) = &off_100B1BA00;\n  *((_QWORD *)v1 + 52) = &off_100B1BA18;\n  *((_QWORD *)v1 + 53) = off_100B1BA30;\n  v1[432] = 0;\n  *(_OWORD *)(v1 + 440) = 0;\n  *((_DWORD *)v1 + 114) = 0;\n  *((_OWORD *)v1 + 29) = 0;\n  *((_OWORD *)v1 + 30) = 0;\n  *(_OWORD *)(v1 + 490) = 0;\n  *((_OWORD *)v1 + 32) = 0;\n  if ( (unsigned __int8)GJShopLayer::init(v1, a1) )\n  {\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; GJShopLayer::create from 0x10030e580 to 0x10030e67c (252 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 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 12:28:37 +0000\n; \npush    rbp                                                            ; +0x0, 0x10030e580\nmov     rbp, rsp                                                       ; +0x1, 0x10030e581\npush    r14                                                            ; +0x4, 0x10030e584\npush    rbx                                                            ; +0x6, 0x10030e586\nmov     r14d, edi                                                      ; +0x7, 0x10030e587\nmov     edi, 210h; __sz                                                ; +0xa, 0x10030e58a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x10030e58f\nmov     rbx, rax                                                       ; +0x14, 0x10030e594\nmov     rdi, rax                                                       ; +0x17, 0x10030e597\ncall    cocos2d__CCLayer__CCLayer                                      ; +0x1a, 0x10030e59a\nlea     rax, off_100B1B458                                             ; +0x1f, 0x10030e59f\nmov     [rbx], rax                                                     ; +0x26, 0x10030e5a6\nlea     rax, off_100B1B900                                             ; +0x29, 0x10030e5a9\nmov     [rbx+140h], rax                                                ; +0x30, 0x10030e5b0\nlea     rax, off_100B1B970                                             ; +0x37, 0x10030e5b7\nmov     [rbx+148h], rax                                                ; +0x3e, 0x10030e5be\nlea     rax, off_100B1B988                                             ; +0x45, 0x10030e5c5\nmov     [rbx+150h], rax                                                ; +0x4c, 0x10030e5cc\nlea     rax, off_100B1B9A8                                             ; +0x53, 0x10030e5d3\nmov     [rbx+158h], rax                                                ; +0x5a, 0x10030e5da\nlea     rax, off_100B1B9D0                                             ; +0x61, 0x10030e5e1\nmov     [rbx+160h], rax                                                ; +0x68, 0x10030e5e8\nlea     rax, off_100B1BA00                                             ; +0x6f, 0x10030e5ef\nmov     [rbx+198h], rax                                                ; +0x76, 0x10030e5f6\nlea     rax, off_100B1BA18                                             ; +0x7d, 0x10030e5fd\nmov     [rbx+1A0h], rax                                                ; +0x84, 0x10030e604\nlea     rax, off_100B1BA30                                             ; +0x8b, 0x10030e60b\nmov     [rbx+1A8h], rax                                                ; +0x92, 0x10030e612\nmov     byte ptr [rbx+1B0h], 0                                         ; +0x99, 0x10030e619\nxorps   xmm0, xmm0                                                     ; +0xa0, 0x10030e620\nmovups  xmmword ptr [rbx+1B8h], xmm0                                   ; +0xa3, 0x10030e623\nmov     dword ptr [rbx+1C8h], 0                                        ; +0xaa, 0x10030e62a\nmovups  xmmword ptr [rbx+1D0h], xmm0                                   ; +0xb4, 0x10030e634\nmovups  xmmword ptr [rbx+1E0h], xmm0                                   ; +0xbb, 0x10030e63b\nmovups  xmmword ptr [rbx+1EAh], xmm0                                   ; +0xc2, 0x10030e642\nmovups  xmmword ptr [rbx+200h], xmm0                                   ; +0xc9, 0x10030e649\nmov     rdi, rbx                                                       ; +0xd0, 0x10030e650\nmov     esi, r14d                                                      ; +0xd3, 0x10030e653\ncall    GJShopLayer__init                                              ; +0xd6, 0x10030e656\ntest    al, al                                                         ; +0xdb, 0x10030e65b\njz      short loc_10030E669                                            ; +0xdd, 0x10030e65d\nmov     rdi, rbx                                                       ; +0xdf, 0x10030e65f\ncall    cocos2d__CCObject__autorelease                                 ; +0xe2, 0x10030e662\njmp     short loc_10030E674                                            ; +0xe7, 0x10030e667\nmov     rax, [rbx]                                                     ; +0xe9, 0x10030e669\nmov     rdi, rbx                                                       ; +0xec, 0x10030e66c\ncall    qword ptr [rax+10h]                                            ; +0xef, 0x10030e66f\nxor     ebx, ebx                                                       ; +0xf2, 0x10030e672\nmov     rax, rbx                                                       ; +0xf4, 0x10030e674\npop     rbx                                                            ; +0xf7, 0x10030e677\npop     r14                                                            ; +0xf8, 0x10030e678\npop     rbp                                                            ; +0xfa, 0x10030e67a\nretn                                                                   ; +0xfb, 0x10030e67b", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}