; ; cocos2d::CCAccelAmplitude::create from 0x18002b2a0 to 0x18002b390 (240 bytes) ; ; 3 xrefs: ; > cocos2d::CCAccelAmplitude::reverse @ 0x18002ba1a ; > @ 0x18014cf68 ; > @ 0x1801b9ba4 ; ; 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, 0x18002b2a0 push rdi ; +0x5, 0x18002b2a5 sub rsp, 30h ; +0x6, 0x18002b2a6 movaps [rsp+38h+var_18], xmm6 ; +0xa, 0x18002b2aa movaps xmm6, xmm1 ; +0xf, 0x18002b2af mov rdi, rcx ; +0x12, 0x18002b2b2 mov ecx, 70h ; 'p'; Size ; +0x15, 0x18002b2b5 call sub_1800E4AC0 ; +0x1a, 0x18002b2ba mov rbx, rax ; +0x1f, 0x18002b2bf mov [rsp+38h+arg_10], rax ; +0x22, 0x18002b2c2 test rax, rax ; +0x27, 0x18002b2c7 jz short loc_18002B305 ; +0x2a, 0x18002b2ca xorps xmm0, xmm0 ; +0x2c, 0x18002b2cc movups xmmword ptr [rax], xmm0 ; +0x2f, 0x18002b2cf movups xmmword ptr [rax+10h], xmm0 ; +0x32, 0x18002b2d2 movups xmmword ptr [rax+20h], xmm0 ; +0x36, 0x18002b2d6 movups xmmword ptr [rax+30h], xmm0 ; +0x3a, 0x18002b2da movups xmmword ptr [rax+40h], xmm0 ; +0x3e, 0x18002b2de movups xmmword ptr [rax+50h], xmm0 ; +0x42, 0x18002b2e2 movups xmmword ptr [rax+60h], xmm0 ; +0x46, 0x18002b2e6 mov rcx, rax; this ; +0x4a, 0x18002b2ea call ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x4d, 0x18002b2ed mov dword ptr [rbx+50h], 0 ; +0x52, 0x18002b2f2 lea rax, ??_7CCAccelAmplitude@cocos2d@@6B@; const cocos2d::CCAccelAmplitude::`vftable' ; +0x59, 0x18002b2f9 mov [rbx], rax ; +0x60, 0x18002b300 jmp short loc_18002B307 ; +0x63, 0x18002b303 xor ebx, ebx ; +0x65, 0x18002b305 test rbx, rbx ; +0x67, 0x18002b307 jz short loc_18002B336 ; +0x6a, 0x18002b30a movaps xmm1, xmm6; float ; +0x6c, 0x18002b30c mov rcx, rbx; this ; +0x6f, 0x18002b30f call ?initWithDuration@CCActionInterval@cocos2d@@QEAA_NM@Z; cocos2d::CCActionInterval::initWithDuration(float) ; +0x72, 0x18002b312 test al, al ; +0x77, 0x18002b317 jz short loc_18002B349 ; +0x79, 0x18002b319 mov dword ptr [rbx+60h], 3F800000h ; +0x7b, 0x18002b31b mov [rbx+68h], rdi ; +0x82, 0x18002b322 mov rcx, rdi; this ; +0x86, 0x18002b326 call ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x89, 0x18002b329 mov rcx, rbx; this ; +0x8e, 0x18002b32e call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x91, 0x18002b331 mov rax, rbx ; +0x96, 0x18002b336 mov rbx, [rsp+38h+arg_0] ; +0x99, 0x18002b339 movaps xmm6, [rsp+38h+var_18] ; +0x9e, 0x18002b33e add rsp, 30h ; +0xa3, 0x18002b343 pop rdi ; +0xa7, 0x18002b347 retn ; +0xa8, 0x18002b348 mov rax, [rbx] ; +0xa9, 0x18002b349 mov r8, [rax+8] ; +0xac, 0x18002b34c lea rax, sub_18002AF00 ; +0xb0, 0x18002b350 mov edx, 1 ; +0xb7, 0x18002b357 mov rcx, rbx; this ; +0xbc, 0x18002b35c cmp r8, rax ; +0xbf, 0x18002b35f jnz short loc_18002B37B ; +0xc2, 0x18002b362 call sub_18002AF00 ; +0xc4, 0x18002b364 xor eax, eax ; +0xc9, 0x18002b369 mov rbx, [rsp+38h+arg_0] ; +0xcb, 0x18002b36b movaps xmm6, [rsp+38h+var_18] ; +0xd0, 0x18002b370 add rsp, 30h ; +0xd5, 0x18002b375 pop rdi ; +0xd9, 0x18002b379 retn ; +0xda, 0x18002b37a call r8 ; +0xdb, 0x18002b37b xor eax, eax ; +0xde, 0x18002b37e mov rbx, [rsp+38h+arg_0] ; +0xe0, 0x18002b380 movaps xmm6, [rsp+38h+var_18] ; +0xe5, 0x18002b385 add rsp, 30h ; +0xea, 0x18002b38a pop rdi ; +0xee, 0x18002b38e retn ; +0xef, 0x18002b38f