{"type": "func", "start": 4299301568, "end": 4299301663, "name": "GJSmartPrefab::create", "pseudocode": "// \n// GJSmartPrefab::create from 0x1004222c0 to 0x10042231f (95 bytes)\n// \n// 0 xrefs:\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\nGJSmartPrefab *__fastcall GJSmartPrefab::create()\n{\n  char *v0; // rbx\n  int v1; // eax\n\n  v0 = (char *)operator new(0x70u);\n  cocos2d::CCObject::CCObject(v0);\n  *(_QWORD *)v0 = off_100934C98;\n  *(_OWORD *)(v0 + 56) = 0;\n  *(_OWORD *)(v0 + 72) = 0;\n  *(_OWORD *)(v0 + 88) = 0;\n  *((_QWORD *)v0 + 13) = 0;\n  v1 = dword_10099C950++;\n  *((_DWORD *)v0 + 26) = v1;\n  cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n  return (GJSmartPrefab *)v0;\n}", "assembly": "; \n; GJSmartPrefab::create from 0x1004222c0 to 0x10042231f (95 bytes)\n; \n; 0 xrefs:\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, 0x1004222c0\nmov     rbp, rsp                                                       ; +0x1, 0x1004222c1\npush    r14                                                            ; +0x4, 0x1004222c4\npush    rbx                                                            ; +0x6, 0x1004222c6\nmov     edi, 70h ; 'p'; __sz                                           ; +0x7, 0x1004222c7\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x1004222cc\nmov     rbx, rax                                                       ; +0x11, 0x1004222d1\nmov     rdi, rax                                                       ; +0x14, 0x1004222d4\ncall    cocos2d__CCObject__CCObject                                    ; +0x17, 0x1004222d7\nlea     rax, off_100934C98                                             ; +0x1c, 0x1004222dc\nmov     [rbx], rax                                                     ; +0x23, 0x1004222e3\nxorps   xmm0, xmm0                                                     ; +0x26, 0x1004222e6\nmovups  xmmword ptr [rbx+38h], xmm0                                    ; +0x29, 0x1004222e9\nmovups  xmmword ptr [rbx+48h], xmm0                                    ; +0x2d, 0x1004222ed\nmovups  xmmword ptr [rbx+58h], xmm0                                    ; +0x31, 0x1004222f1\nmov     qword ptr [rbx+68h], 0                                         ; +0x35, 0x1004222f5\nmov     eax, cs:dword_10099C950                                        ; +0x3d, 0x1004222fd\nlea     ecx, [rax+1]                                                   ; +0x43, 0x100422303\nmov     cs:dword_10099C950, ecx                                        ; +0x46, 0x100422306\nmov     [rbx+68h], eax                                                 ; +0x4c, 0x10042230c\nmov     rdi, rbx                                                       ; +0x4f, 0x10042230f\ncall    cocos2d__CCObject__autorelease                                 ; +0x52, 0x100422312\nmov     rax, rbx                                                       ; +0x57, 0x100422317\npop     rbx                                                            ; +0x5a, 0x10042231a\npop     r14                                                            ; +0x5b, 0x10042231b\npop     rbp                                                            ; +0x5d, 0x10042231d\nretn                                                                   ; +0x5e, 0x10042231e", "xrefs": [], "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"}