; ; cocos2d::CCComponent::create from 0x180099a00 to 0x180099ac3 (195 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801c0b4c ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:22:11 +0000 ; push rbx ; +0x0, 0x180099a00 sub rsp, 20h ; +0x2, 0x180099a02 mov ecx, 68h ; 'h'; Size ; +0x6, 0x180099a06 call sub_1800E4AC0 ; +0xb, 0x180099a0b mov rbx, rax ; +0x10, 0x180099a10 mov [rsp+28h+arg_0], rax ; +0x13, 0x180099a13 test rax, rax ; +0x18, 0x180099a18 jz short loc_180099A58 ; +0x1b, 0x180099a1b mov rcx, rax; this ; +0x1d, 0x180099a1d call ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x20, 0x180099a20 lea rax, ??_7CCComponent@cocos2d@@6B@; const cocos2d::CCComponent::`vftable' ; +0x25, 0x180099a25 mov [rbx], rax ; +0x2c, 0x180099a2c mov qword ptr [rbx+38h], 0 ; +0x2f, 0x180099a2f xorps xmm0, xmm0 ; +0x37, 0x180099a37 movups xmmword ptr [rbx+40h], xmm0 ; +0x3a, 0x180099a3a mov qword ptr [rbx+50h], 0 ; +0x3e, 0x180099a3e mov qword ptr [rbx+58h], 0Fh ; +0x46, 0x180099a46 mov byte ptr [rbx+40h], 0 ; +0x4e, 0x180099a4e mov byte ptr [rbx+60h], 1 ; +0x52, 0x180099a52 jmp short loc_180099A5A ; +0x56, 0x180099a56 xor ebx, ebx ; +0x58, 0x180099a58 test rbx, rbx ; +0x5a, 0x180099a5a jz short loc_180099ABA ; +0x5d, 0x180099a5d mov rax, [rbx] ; +0x5f, 0x180099a5f mov rdx, [rax+48h] ; +0x62, 0x180099a62 lea rax, ?serialize@CCComponent@cocos2d@@UEAA_NPEAX@Z; cocos2d::CCComponent::serialize(void *) ; +0x66, 0x180099a66 cmp rdx, rax ; +0x6d, 0x180099a6d jz short loc_180099AB2 ; +0x70, 0x180099a70 mov rcx, rbx ; +0x72, 0x180099a72 call rdx ; +0x75, 0x180099a75 test al, al ; +0x77, 0x180099a77 jnz short loc_180099AB2 ; +0x79, 0x180099a79 mov rax, [rbx] ; +0x7b, 0x180099a7b mov r8, [rax+8] ; +0x7e, 0x180099a7e lea rax, sub_180099960 ; +0x82, 0x180099a82 mov edx, 1 ; +0x89, 0x180099a89 mov rcx, rbx; this ; +0x8e, 0x180099a8e cmp r8, rax ; +0x91, 0x180099a91 jnz short loc_180099AA5 ; +0x94, 0x180099a94 call sub_180099960 ; +0x96, 0x180099a96 xor ebx, ebx ; +0x9b, 0x180099a9b mov eax, ebx ; +0x9d, 0x180099a9d add rsp, 20h ; +0x9f, 0x180099a9f pop rbx ; +0xa3, 0x180099aa3 retn ; +0xa4, 0x180099aa4 call r8 ; +0xa5, 0x180099aa5 xor ebx, ebx ; +0xa8, 0x180099aa8 mov eax, ebx ; +0xaa, 0x180099aaa add rsp, 20h ; +0xac, 0x180099aac pop rbx ; +0xb0, 0x180099ab0 retn ; +0xb1, 0x180099ab1 mov rcx, rbx; this ; +0xb2, 0x180099ab2 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xb5, 0x180099ab5 mov rax, rbx ; +0xba, 0x180099aba add rsp, 20h ; +0xbd, 0x180099abd pop rbx ; +0xc1, 0x180099ac1 retn ; +0xc2, 0x180099ac2