{"type": "func", "start": 5371549936, "end": 5371550061, "name": "GJSmartPrefab::create", "pseudocode": "// \n// GJSmartPrefab::create from 0x1402b58f0 to 0x1402b596d (125 bytes)\n// \n// 2 xrefs:\n// > EditorUI::addObjectsToSmartTemplate @ 0x140116c8f\n// > <???> @ 0x1406d2444\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\n// Hidden C++ exception states: #wind=1\nGJSmartPrefab *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  *((_QWORD *)v2 + 15) = 0;\n  v0 = dword_1406BA174;\n  *((_DWORD *)v2 + 30) = dword_1406BA174;\n  dword_1406BA174 = v0 + 1;\n  cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n  return (GJSmartPrefab *)v2;\n}", "assembly": "; \n; GJSmartPrefab::create from 0x1402b58f0 to 0x1402b596d (125 bytes)\n; \n; 2 xrefs:\n; > EditorUI::addObjectsToSmartTemplate @ 0x140116c8f\n; > <???> @ 0x1406d2444\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    rbx                                                            ; +0x0, 0x1402b58f0\nsub     rsp, 20h                                                       ; +0x2, 0x1402b58f2\nmov     ecx, 80h; Size                                                 ; +0x6, 0x1402b58f6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x1402b58fb\nmov     rbx, rax                                                       ; +0x10, 0x1402b5900\nmov     [rsp+28h+arg_0], rax                                           ; +0x13, 0x1402b5903\nmov     rcx, rax                                                       ; +0x18, 0x1402b5908\ncall    cs:??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x1b, 0x1402b590b\nlea     rax, ??_7GJSmartPrefab@@6B@; const GJSmartPrefab::`vftable'    ; +0x21, 0x1402b5911\nmov     [rbx], rax                                                     ; +0x28, 0x1402b5918\nxorps   xmm0, xmm0                                                     ; +0x2b, 0x1402b591b\nmovups  xmmword ptr [rbx+38h], xmm0                                    ; +0x2e, 0x1402b591e\nxor     eax, eax                                                       ; +0x32, 0x1402b5922\nmov     [rbx+48h], rax                                                 ; +0x34, 0x1402b5924\nmov     qword ptr [rbx+50h], 0Fh                                       ; +0x38, 0x1402b5928\nmov     [rbx+38h], al                                                  ; +0x40, 0x1402b5930\nmovups  xmmword ptr [rbx+58h], xmm0                                    ; +0x43, 0x1402b5933\nmov     [rbx+68h], rax                                                 ; +0x47, 0x1402b5937\nmov     qword ptr [rbx+70h], 0Fh                                       ; +0x4b, 0x1402b593b\nmov     [rbx+58h], al                                                  ; +0x53, 0x1402b5943\nmov     [rbx+78h], rax                                                 ; +0x56, 0x1402b5946\nmov     eax, cs:dword_1406BA174                                        ; +0x5a, 0x1402b594a\nmov     [rbx+78h], eax                                                 ; +0x60, 0x1402b5950\ninc     eax                                                            ; +0x63, 0x1402b5953\nmov     cs:dword_1406BA174, eax                                        ; +0x65, 0x1402b5955\nmov     rcx, rbx                                                       ; +0x6b, 0x1402b595b\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x6e, 0x1402b595e\nmov     rax, rbx                                                       ; +0x74, 0x1402b5964\nadd     rsp, 20h                                                       ; +0x77, 0x1402b5967\npop     rbx                                                            ; +0x7b, 0x1402b596b\nretn                                                                   ; +0x7c, 0x1402b596c", "xrefs": ["EditorUI::addObjectsToSmartTemplate @ 0x140116c8f", "<???> @ 0x1406d2444"], "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"}