; ; GJBaseGameLayer::speedForShaderTarget from 0x140223600 to 0x140223700 (256 bytes) ; ; 3 xrefs: ; > GJBaseGameLayer::updateShaderLayer @ 0x1402226ba ; > GJBaseGameLayer::updateShaderLayer @ 0x1402226e1 ; > @ 0x1406cd5a8 ; ; 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, 0x140223600 mov [rsp+arg_10], rsi ; +0x5, 0x140223605 push rdi ; +0xa, 0x14022360a sub rsp, 30h ; +0xb, 0x14022360b mov rsi, rcx ; +0xf, 0x14022360f mov ebx, r8d ; +0x12, 0x140223612 mov rcx, rdx ; +0x15, 0x140223615 mov rdi, rdx ; +0x18, 0x140223618 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x1b, 0x14022361b cmp ebx, 0FFFFFFFFh ; +0x21, 0x140223621 jz loc_1402236B7 ; +0x24, 0x140223624 cmp ebx, 0FFFFFFFEh ; +0x2a, 0x14022362a jnz short loc_140223641 ; +0x2d, 0x14022362d cmp byte ptr [rsi+422h], 0 ; +0x2f, 0x14022362f jz short loc_1402236B7 ; +0x36, 0x140223636 mov rbx, [rsi+0DA8h] ; +0x38, 0x140223638 jmp short loc_1402236BE ; +0x3f, 0x14022363f cmp ebx, 1 ; +0x41, 0x140223641 jl short loc_1402236A0 ; +0x44, 0x140223644 mov edx, ebx ; +0x46, 0x140223646 mov rcx, rsi ; +0x48, 0x140223648 call GJBaseGameLayer__tryGetMainObject ; +0x4b, 0x14022364b mov rbx, rax ; +0x50, 0x140223650 test rax, rax ; +0x53, 0x140223653 jz short loc_140223689 ; +0x56, 0x140223656 mov r8, [rax] ; +0x58, 0x140223658 lea rdx, [rsp+38h+arg_18] ; +0x5b, 0x14022365b mov rcx, rax ; +0x60, 0x140223660 call qword ptr [r8+4A8h] ; +0x63, 0x140223663 mov rcx, rax ; +0x6a, 0x14022366a lea r8, [rbx+4D0h] ; +0x6d, 0x14022366d lea rdx, [rsp+38h+arg_8] ; +0x74, 0x140223674 call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x79, 0x140223679 lea rax, [rsp+38h+arg_8] ; +0x7f, 0x14022367f mov rdx, rax ; +0x84, 0x140223684 jmp short loc_1402236E4 ; +0x87, 0x140223687 lea rdx, dword_1406C1D28 ; +0x89, 0x140223689 lea rcx, [rsp+38h+var_18] ; +0x90, 0x140223690 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x95, 0x140223695 mov rdx, rax ; +0x9b, 0x14022369b jmp short loc_1402236E4 ; +0x9e, 0x14022369e lea rcx, [rsi+4DCh] ; +0xa0, 0x1402236a0 lea rdx, [rsp+38h+arg_8] ; +0xa7, 0x1402236a7 call cs:??GCCPoint@cocos2d@@QEBA?AV01@XZ; cocos2d::CCPoint::operator-(void) ; +0xac, 0x1402236ac mov rdx, rax ; +0xb2, 0x1402236b2 jmp short loc_1402236E4 ; +0xb5, 0x1402236b5 mov rbx, [rsi+0DA0h] ; +0xb7, 0x1402236b7 mov rax, [rbx] ; +0xbe, 0x1402236be mov rcx, rbx ; +0xc1, 0x1402236c1 call qword ptr [rax+0C8h] ; +0xc4, 0x1402236c4 mov rcx, rax ; +0xca, 0x1402236ca lea r8, [rbx+4D0h] ; +0xcd, 0x1402236cd lea rdx, [rsp+38h+arg_8] ; +0xd4, 0x1402236d4 call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0xd9, 0x1402236d9 lea rdx, [rsp+38h+arg_8] ; +0xdf, 0x1402236df mov rcx, rdi ; +0xe4, 0x1402236e4 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xe7, 0x1402236e7 mov rbx, [rsp+38h+arg_0] ; +0xed, 0x1402236ed mov rax, rdi ; +0xf2, 0x1402236f2 mov rsi, [rsp+38h+arg_10] ; +0xf5, 0x1402236f5 add rsp, 30h ; +0xfa, 0x1402236fa pop rdi ; +0xfe, 0x1402236fe retn ; +0xff, 0x1402236ff