; ; cocos2d::CCGridAction::create from 0x18002b570 to 0x18002b686 (278 bytes) ; ; 3 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801b9bbc ; > @ 0x1801b9bc8 ; ; 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:21:31 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x18002b570 push rdi ; +0x5, 0x18002b575 sub rsp, 30h ; +0x6, 0x18002b576 movaps [rsp+38h+var_18], xmm6 ; +0xa, 0x18002b57a mov rdi, rdx ; +0xf, 0x18002b57f movaps xmm6, xmm0 ; +0x12, 0x18002b582 mov ecx, 68h ; 'h'; Size ; +0x15, 0x18002b585 call sub_1800E4AC0 ; +0x1a, 0x18002b58a mov rbx, rax ; +0x1f, 0x18002b58f mov [rsp+38h+arg_10], rax ; +0x22, 0x18002b592 test rax, rax ; +0x27, 0x18002b597 jz short loc_18002B5E1 ; +0x2a, 0x18002b59a xorps xmm1, xmm1 ; +0x2c, 0x18002b59c xor eax, eax ; +0x2f, 0x18002b59f movups xmmword ptr [rbx], xmm1 ; +0x31, 0x18002b5a1 movups xmmword ptr [rbx+10h], xmm1 ; +0x34, 0x18002b5a4 movups xmmword ptr [rbx+20h], xmm1 ; +0x38, 0x18002b5a8 movups xmmword ptr [rbx+30h], xmm1 ; +0x3c, 0x18002b5ac movups xmmword ptr [rbx+40h], xmm1 ; +0x40, 0x18002b5b0 movups xmmword ptr [rbx+50h], xmm1 ; +0x44, 0x18002b5b4 mov [rbx+60h], rax ; +0x48, 0x18002b5b8 mov rcx, rbx; this ; +0x4c, 0x18002b5bc call ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x4f, 0x18002b5bf mov dword ptr [rbx+50h], 0 ; +0x54, 0x18002b5c4 lea rax, ??_7CCGridAction@cocos2d@@6B@; const cocos2d::CCGridAction::`vftable' ; +0x5b, 0x18002b5cb mov [rbx], rax ; +0x62, 0x18002b5d2 lea rcx, [rbx+60h]; this ; +0x65, 0x18002b5d5 call ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void) ; +0x69, 0x18002b5d9 nop ; +0x6e, 0x18002b5de jmp short loc_18002B5E3 ; +0x6f, 0x18002b5df xor ebx, ebx ; +0x71, 0x18002b5e1 test rbx, rbx ; +0x73, 0x18002b5e3 jz short loc_18002B62F ; +0x76, 0x18002b5e6 mov rax, [rbx] ; +0x78, 0x18002b5e8 mov rdx, [rax+70h] ; +0x7b, 0x18002b5eb lea rax, ?initWithDuration@CCGridAction@cocos2d@@UEAA_NMAEBVCCSize@2@@Z; cocos2d::CCGridAction::initWithDuration(float,cocos2d::CCSize const &) ; +0x7f, 0x18002b5ef movaps xmm1, xmm6; float ; +0x86, 0x18002b5f6 mov rcx, rbx; this ; +0x89, 0x18002b5f9 cmp rdx, rax ; +0x8c, 0x18002b5fc jnz short loc_18002B61E ; +0x8f, 0x18002b5ff call ?initWithDuration@CCActionInterval@cocos2d@@QEAA_NM@Z; cocos2d::CCActionInterval::initWithDuration(float) ; +0x91, 0x18002b601 test al, al ; +0x96, 0x18002b606 jz short loc_18002B61A ; +0x98, 0x18002b608 lea rcx, [rbx+60h] ; +0x9a, 0x18002b60a mov rdx, rdi ; +0x9e, 0x18002b60e call ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0xa1, 0x18002b611 mov al, 1 ; +0xa6, 0x18002b616 jmp short loc_18002B623 ; +0xa8, 0x18002b618 xor al, al ; +0xaa, 0x18002b61a jmp short loc_18002B623 ; +0xac, 0x18002b61c mov r8, rdi ; +0xae, 0x18002b61e call rdx ; +0xb1, 0x18002b621 mov rcx, rbx; Block ; +0xb3, 0x18002b623 test al, al ; +0xb6, 0x18002b626 jz short loc_18002B642 ; +0xb8, 0x18002b628 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xba, 0x18002b62a mov rax, rbx ; +0xbf, 0x18002b62f mov rbx, [rsp+38h+arg_0] ; +0xc2, 0x18002b632 movaps xmm6, [rsp+38h+var_18] ; +0xc7, 0x18002b637 add rsp, 30h ; +0xcc, 0x18002b63c pop rdi ; +0xd0, 0x18002b640 retn ; +0xd1, 0x18002b641 mov rax, [rbx] ; +0xd2, 0x18002b642 mov r8, [rax+8] ; +0xd5, 0x18002b645 lea rax, sub_18002B120 ; +0xd9, 0x18002b649 mov edx, 1 ; +0xe0, 0x18002b650 cmp r8, rax ; +0xe5, 0x18002b655 jnz short loc_18002B671 ; +0xe8, 0x18002b658 call sub_18002B120 ; +0xea, 0x18002b65a xor eax, eax ; +0xef, 0x18002b65f mov rbx, [rsp+38h+arg_0] ; +0xf1, 0x18002b661 movaps xmm6, [rsp+38h+var_18] ; +0xf6, 0x18002b666 add rsp, 30h ; +0xfb, 0x18002b66b pop rdi ; +0xff, 0x18002b66f retn ; +0x100, 0x18002b670 call r8 ; +0x101, 0x18002b671 xor eax, eax ; +0x104, 0x18002b674 mov rbx, [rsp+38h+arg_0] ; +0x106, 0x18002b676 movaps xmm6, [rsp+38h+var_18] ; +0x10b, 0x18002b67b add rsp, 30h ; +0x110, 0x18002b680 pop rdi ; +0x114, 0x18002b684 retn ; +0x115, 0x18002b685