{"type": "func", "start": 5372624400, "end": 5372624524, "name": "GJSmartPrefab::create", "pseudocode": "// \n// GJSmartPrefab::create from 0x1403bbe10 to 0x1403bbe8c (124 bytes)\n// \n// 2 xrefs:\n// > EditorUI::addObjectsToSmartTemplate @ 0x1401b668c\n// > <???> @ 0x140923e04\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 11:31:26 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nchar *GJSmartPrefab::create()\n{\n  int v0; // eax\n  char *v2; // [rsp+30h] [rbp+8h]\n\n  v2 = (char *)operator new(0x80u);\n  cocos2d::CCObject::CCObject((cocos2d::CCObject *)v2);\n  *(_QWORD *)v2 = &GJSmartPrefab::`vftable';\n  *(_OWORD *)(v2 + 56) = 0;\n  *((_QWORD *)v2 + 9) = 0;\n  *((_QWORD *)v2 + 10) = 15;\n  v2[56] = 0;\n  *(_OWORD *)(v2 + 88) = 0;\n  *((_QWORD *)v2 + 13) = 0;\n  *((_QWORD *)v2 + 14) = 15;\n  v2[88] = 0;\n  *((_DWORD *)v2 + 31) = 0;\n  v0 = dword_1408FE4A0;\n  *((_DWORD *)v2 + 30) = dword_1408FE4A0;\n  dword_1408FE4A0 = v0 + 1;\n  cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n  return v2;\n}", "assembly": "; \n; GJSmartPrefab::create from 0x1403bbe10 to 0x1403bbe8c (124 bytes)\n; \n; 2 xrefs:\n; > EditorUI::addObjectsToSmartTemplate @ 0x1401b668c\n; > <???> @ 0x140923e04\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 11:31:26 +0000\n; \npush    rbx                                                            ; +0x0, 0x1403bbe10\nsub     rsp, 20h                                                       ; +0x2, 0x1403bbe12\nmov     ecx, 80h; Size                                                 ; +0x6, 0x1403bbe16\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x1403bbe1b\nmov     rbx, rax                                                       ; +0x10, 0x1403bbe20\nmov     [rsp+28h+arg_0], rax                                           ; +0x13, 0x1403bbe23\nmov     rcx, rax                                                       ; +0x18, 0x1403bbe28\ncall    cs:??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x1b, 0x1403bbe2b\nlea     rax, ??_7GJSmartPrefab@@6B@; const GJSmartPrefab::`vftable'    ; +0x21, 0x1403bbe31\nmov     [rbx], rax                                                     ; +0x28, 0x1403bbe38\nxorps   xmm0, xmm0                                                     ; +0x2b, 0x1403bbe3b\nmovups  xmmword ptr [rbx+38h], xmm0                                    ; +0x2e, 0x1403bbe3e\nxor     eax, eax                                                       ; +0x32, 0x1403bbe42\nmov     [rbx+48h], rax                                                 ; +0x34, 0x1403bbe44\nmov     qword ptr [rbx+50h], 0Fh                                       ; +0x38, 0x1403bbe48\nmov     [rbx+38h], al                                                  ; +0x40, 0x1403bbe50\nmovups  xmmword ptr [rbx+58h], xmm0                                    ; +0x43, 0x1403bbe53\nmov     [rbx+68h], rax                                                 ; +0x47, 0x1403bbe57\nmov     qword ptr [rbx+70h], 0Fh                                       ; +0x4b, 0x1403bbe5b\nmov     [rbx+58h], al                                                  ; +0x53, 0x1403bbe63\nmov     [rbx+7Ch], eax                                                 ; +0x56, 0x1403bbe66\nmov     eax, cs:dword_1408FE4A0                                        ; +0x59, 0x1403bbe69\nmov     [rbx+78h], eax                                                 ; +0x5f, 0x1403bbe6f\ninc     eax                                                            ; +0x62, 0x1403bbe72\nmov     cs:dword_1408FE4A0, eax                                        ; +0x64, 0x1403bbe74\nmov     rcx, rbx                                                       ; +0x6a, 0x1403bbe7a\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x6d, 0x1403bbe7d\nmov     rax, rbx                                                       ; +0x73, 0x1403bbe83\nadd     rsp, 20h                                                       ; +0x76, 0x1403bbe86\npop     rbx                                                            ; +0x7a, 0x1403bbe8a\nretn                                                                   ; +0x7b, 0x1403bbe8b", "xrefs": ["EditorUI::addObjectsToSmartTemplate @ 0x1401b668c", "<???> @ 0x140923e04"], "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"}