; ; GJBaseGameLayer::speedForShaderTarget from 0x14032b2a0 to 0x14032b3aa (266 bytes) ; ; 3 xrefs: ; > GJBaseGameLayer::updateShaderLayer @ 0x14032a432 ; > GJBaseGameLayer::updateShaderLayer @ 0x14032a459 ; > @ 0x14091f154 ; ; 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:30:29 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x14032b2a0 mov [rsp+arg_10], rsi ; +0x5, 0x14032b2a5 push rdi ; +0xa, 0x14032b2aa sub rsp, 30h ; +0xb, 0x14032b2ab mov rsi, rcx ; +0xf, 0x14032b2af mov ebx, r8d ; +0x12, 0x14032b2b2 mov rcx, rdx ; +0x15, 0x14032b2b5 mov rdi, rdx ; +0x18, 0x14032b2b8 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x1b, 0x14032b2bb cmp ebx, 0FFFFFFFFh ; +0x21, 0x14032b2c1 jz loc_14032B361 ; +0x24, 0x14032b2c4 cmp ebx, 0FFFFFFFEh ; +0x2a, 0x14032b2ca jnz short loc_14032B2E8 ; +0x2d, 0x14032b2cd cmp byte ptr [rsi+422h], 0 ; +0x2f, 0x14032b2cf jz loc_14032B361 ; +0x36, 0x14032b2d6 mov rbx, [rsi+0DC0h] ; +0x3c, 0x14032b2dc jmp loc_14032B368 ; +0x43, 0x14032b2e3 cmp ebx, 1 ; +0x48, 0x14032b2e8 jl short loc_14032B34A ; +0x4b, 0x14032b2eb mov edx, ebx ; +0x4d, 0x14032b2ed mov rcx, rsi ; +0x4f, 0x14032b2ef call GJBaseGameLayer__tryGetMainObject ; +0x52, 0x14032b2f2 mov rbx, rax ; +0x57, 0x14032b2f7 test rax, rax ; +0x5a, 0x14032b2fa jz short loc_14032B333 ; +0x5d, 0x14032b2fd mov rcx, [rax] ; +0x5f, 0x14032b2ff lea rdx, [rsp+38h+arg_18] ; +0x62, 0x14032b302 mov r8, [rcx+4B8h] ; +0x67, 0x14032b307 mov rcx, rax ; +0x6e, 0x14032b30e call r8 ; +0x71, 0x14032b311 lea r8, [rbx+4D0h] ; +0x74, 0x14032b314 mov rcx, rax ; +0x7b, 0x14032b31b lea rdx, [rsp+38h+arg_8] ; +0x7e, 0x14032b31e call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x83, 0x14032b323 lea rax, [rsp+38h+arg_8] ; +0x89, 0x14032b329 mov rdx, rax ; +0x8e, 0x14032b32e jmp short loc_14032B38E ; +0x91, 0x14032b331 lea rdx, dword_14090AA70 ; +0x93, 0x14032b333 lea rcx, [rsp+38h+var_18] ; +0x9a, 0x14032b33a call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x9f, 0x14032b33f mov rdx, rax ; +0xa5, 0x14032b345 jmp short loc_14032B38E ; +0xa8, 0x14032b348 lea rcx, [rsi+4DCh] ; +0xaa, 0x14032b34a lea rdx, [rsp+38h+arg_8] ; +0xb1, 0x14032b351 call cs:??GCCPoint@cocos2d@@QEBA?AV01@XZ; cocos2d::CCPoint::operator-(void) ; +0xb6, 0x14032b356 mov rdx, rax ; +0xbc, 0x14032b35c jmp short loc_14032B38E ; +0xbf, 0x14032b35f mov rbx, [rsi+0DB8h] ; +0xc1, 0x14032b361 mov rax, [rbx] ; +0xc8, 0x14032b368 mov rcx, rbx ; +0xcb, 0x14032b36b call qword ptr [rax+0C8h] ; +0xce, 0x14032b36e mov rcx, rax ; +0xd4, 0x14032b374 lea r8, [rbx+4D0h] ; +0xd7, 0x14032b377 lea rdx, [rsp+38h+arg_8] ; +0xde, 0x14032b37e call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0xe3, 0x14032b383 lea rdx, [rsp+38h+arg_8] ; +0xe9, 0x14032b389 mov rcx, rdi ; +0xee, 0x14032b38e call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xf1, 0x14032b391 mov rbx, [rsp+38h+arg_0] ; +0xf7, 0x14032b397 mov rax, rdi ; +0xfc, 0x14032b39c mov rsi, [rsp+38h+arg_10] ; +0xff, 0x14032b39f add rsp, 30h ; +0x104, 0x14032b3a4 pop rdi ; +0x108, 0x14032b3a8 retn ; +0x109, 0x14032b3a9