; ; cocos2d::CCGridAction::create from 0x18002aea0 to 0x18002afb3 (275 bytes) ; ; 3 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801afaa8 ; > @ 0x1801afab4 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x18002aea0 push rdi ; +0x5, 0x18002aea5 sub rsp, 30h ; +0x6, 0x18002aea6 movaps [rsp+38h+var_18], xmm6 ; +0xa, 0x18002aeaa mov rdi, rdx ; +0xf, 0x18002aeaf movaps xmm6, xmm0 ; +0x12, 0x18002aeb2 mov ecx, 68h ; 'h'; Size ; +0x15, 0x18002aeb5 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1a, 0x18002aeba mov rbx, rax ; +0x1f, 0x18002aebf mov [rsp+38h+arg_10], rax ; +0x22, 0x18002aec2 test rax, rax ; +0x27, 0x18002aec7 jz short loc_18002AF11 ; +0x2a, 0x18002aeca xorps xmm1, xmm1 ; +0x2c, 0x18002aecc xor eax, eax ; +0x2f, 0x18002aecf movups xmmword ptr [rbx], xmm1 ; +0x31, 0x18002aed1 movups xmmword ptr [rbx+10h], xmm1 ; +0x34, 0x18002aed4 movups xmmword ptr [rbx+20h], xmm1 ; +0x38, 0x18002aed8 movups xmmword ptr [rbx+30h], xmm1 ; +0x3c, 0x18002aedc movups xmmword ptr [rbx+40h], xmm1 ; +0x40, 0x18002aee0 movups xmmword ptr [rbx+50h], xmm1 ; +0x44, 0x18002aee4 mov [rbx+60h], rax ; +0x48, 0x18002aee8 mov rcx, rbx; this ; +0x4c, 0x18002aeec call ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x4f, 0x18002aeef mov dword ptr [rbx+50h], 0 ; +0x54, 0x18002aef4 lea rax, ??_7CCGridAction@cocos2d@@6B@; const cocos2d::CCGridAction::`vftable' ; +0x5b, 0x18002aefb mov [rbx], rax ; +0x62, 0x18002af02 lea rcx, [rbx+60h]; this ; +0x65, 0x18002af05 call ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void) ; +0x69, 0x18002af09 nop ; +0x6e, 0x18002af0e jmp short loc_18002AF13 ; +0x6f, 0x18002af0f xor ebx, ebx ; +0x71, 0x18002af11 test rbx, rbx ; +0x73, 0x18002af13 jz short loc_18002AF59 ; +0x76, 0x18002af16 mov rax, [rbx] ; +0x78, 0x18002af18 mov rdx, [rax+70h] ; +0x7b, 0x18002af1b lea rax, ?initWithDuration@CCGridAction@cocos2d@@UEAA_NMAEBVCCSize@2@@Z; cocos2d::CCGridAction::initWithDuration(float,cocos2d::CCSize const &) ; +0x7f, 0x18002af1f movaps xmm1, xmm6; float ; +0x86, 0x18002af26 mov rcx, rbx; this ; +0x89, 0x18002af29 cmp rdx, rax ; +0x8c, 0x18002af2c jnz short loc_18002AF48 ; +0x8f, 0x18002af2f call ?initWithDuration@CCActionInterval@cocos2d@@QEAA_NM@Z; cocos2d::CCActionInterval::initWithDuration(float) ; +0x91, 0x18002af31 test al, al ; +0x96, 0x18002af36 jz short loc_18002AF6C ; +0x98, 0x18002af38 lea rcx, [rbx+60h] ; +0x9a, 0x18002af3a mov rdx, rdi ; +0x9e, 0x18002af3e call ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0xa1, 0x18002af41 jmp short loc_18002AF51 ; +0xa6, 0x18002af46 mov r8, rdi ; +0xa8, 0x18002af48 call rdx ; +0xab, 0x18002af4b test al, al ; +0xad, 0x18002af4d jz short loc_18002AF6C ; +0xaf, 0x18002af4f mov rcx, rbx; this ; +0xb1, 0x18002af51 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xb4, 0x18002af54 mov rax, rbx ; +0xb9, 0x18002af59 mov rbx, [rsp+38h+arg_0] ; +0xbc, 0x18002af5c movaps xmm6, [rsp+38h+var_18] ; +0xc1, 0x18002af61 add rsp, 30h ; +0xc6, 0x18002af66 pop rdi ; +0xca, 0x18002af6a retn ; +0xcb, 0x18002af6b mov rax, [rbx] ; +0xcc, 0x18002af6c mov r8, [rax+8] ; +0xcf, 0x18002af6f lea rax, sub_18002AA50 ; +0xd3, 0x18002af73 mov edx, 1 ; +0xda, 0x18002af7a mov rcx, rbx; Block ; +0xdf, 0x18002af7f cmp r8, rax ; +0xe2, 0x18002af82 jnz short loc_18002AF9E ; +0xe5, 0x18002af85 call sub_18002AA50 ; +0xe7, 0x18002af87 xor eax, eax ; +0xec, 0x18002af8c mov rbx, [rsp+38h+arg_0] ; +0xee, 0x18002af8e movaps xmm6, [rsp+38h+var_18] ; +0xf3, 0x18002af93 add rsp, 30h ; +0xf8, 0x18002af98 pop rdi ; +0xfc, 0x18002af9c retn ; +0xfd, 0x18002af9d call r8 ; +0xfe, 0x18002af9e xor eax, eax ; +0x101, 0x18002afa1 mov rbx, [rsp+38h+arg_0] ; +0x103, 0x18002afa3 movaps xmm6, [rsp+38h+var_18] ; +0x108, 0x18002afa8 add rsp, 30h ; +0x10d, 0x18002afad pop rdi ; +0x111, 0x18002afb1 retn ; +0x112, 0x18002afb2