; ; GJSmartPrefab::create from 0x1402b58f0 to 0x1402b596d (125 bytes) ; ; 2 xrefs: ; > EditorUI::addObjectsToSmartTemplate @ 0x140116c8f ; > @ 0x1406d2444 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbx ; +0x0, 0x1402b58f0 sub rsp, 20h ; +0x2, 0x1402b58f2 mov ecx, 80h; Size ; +0x6, 0x1402b58f6 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xb, 0x1402b58fb mov rbx, rax ; +0x10, 0x1402b5900 mov [rsp+28h+arg_0], rax ; +0x13, 0x1402b5903 mov rcx, rax ; +0x18, 0x1402b5908 call cs:??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x1b, 0x1402b590b lea rax, ??_7GJSmartPrefab@@6B@; const GJSmartPrefab::`vftable' ; +0x21, 0x1402b5911 mov [rbx], rax ; +0x28, 0x1402b5918 xorps xmm0, xmm0 ; +0x2b, 0x1402b591b movups xmmword ptr [rbx+38h], xmm0 ; +0x2e, 0x1402b591e xor eax, eax ; +0x32, 0x1402b5922 mov [rbx+48h], rax ; +0x34, 0x1402b5924 mov qword ptr [rbx+50h], 0Fh ; +0x38, 0x1402b5928 mov [rbx+38h], al ; +0x40, 0x1402b5930 movups xmmword ptr [rbx+58h], xmm0 ; +0x43, 0x1402b5933 mov [rbx+68h], rax ; +0x47, 0x1402b5937 mov qword ptr [rbx+70h], 0Fh ; +0x4b, 0x1402b593b mov [rbx+58h], al ; +0x53, 0x1402b5943 mov [rbx+78h], rax ; +0x56, 0x1402b5946 mov eax, cs:dword_1406BA174 ; +0x5a, 0x1402b594a mov [rbx+78h], eax ; +0x60, 0x1402b5950 inc eax ; +0x63, 0x1402b5953 mov cs:dword_1406BA174, eax ; +0x65, 0x1402b5955 mov rcx, rbx ; +0x6b, 0x1402b595b call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x6e, 0x1402b595e mov rax, rbx ; +0x74, 0x1402b5964 add rsp, 20h ; +0x77, 0x1402b5967 pop rbx ; +0x7b, 0x1402b596b retn ; +0x7c, 0x1402b596c