; ; GJBaseGameLayer::positionForShaderTarget from 0x140223550 to 0x1402235f3 (163 bytes) ; ; 8 xrefs: ; > GJBaseGameLayer::updateShaderLayer @ 0x140222431 ; > GJBaseGameLayer::updateShaderLayer @ 0x14022246d ; > GJBaseGameLayer::updateShaderLayer @ 0x1402224a1 ; > GJBaseGameLayer::updateShaderLayer @ 0x1402224cd ; > GJBaseGameLayer::updateShaderLayer @ 0x140222520 ; > GJBaseGameLayer::updateShaderLayer @ 0x140222573 ; > GJBaseGameLayer::updateShaderLayer @ 0x1402225a6 ; > @ 0x1406cd59c ; ; 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, 0x140223550 mov [rsp+arg_10], rsi ; +0x5, 0x140223555 push rdi ; +0xa, 0x14022355a sub rsp, 20h ; +0xb, 0x14022355b mov rdi, rcx ; +0xf, 0x14022355f mov esi, r8d ; +0x12, 0x140223562 mov rcx, rdx ; +0x15, 0x140223565 mov rbx, rdx ; +0x18, 0x140223568 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x1b, 0x14022356b cmp esi, 0FFFFFFFFh ; +0x21, 0x140223571 jz short loc_1402235C4 ; +0x24, 0x140223574 cmp esi, 0FFFFFFFEh ; +0x26, 0x140223576 jnz short loc_14022358D ; +0x29, 0x140223579 cmp byte ptr [rdi+422h], 0 ; +0x2b, 0x14022357b jz short loc_1402235C4 ; +0x32, 0x140223582 mov rcx, [rdi+0DA8h] ; +0x34, 0x140223584 jmp short loc_1402235CB ; +0x3b, 0x14022358b mov edx, esi ; +0x3d, 0x14022358d mov rcx, rdi ; +0x3f, 0x14022358f call GJBaseGameLayer__tryGetMainObject ; +0x42, 0x140223592 test rax, rax ; +0x47, 0x140223597 jz short loc_1402235B0 ; +0x4a, 0x14022359a mov r8, [rax] ; +0x4c, 0x14022359c lea rdx, [rsp+28h+arg_8] ; +0x4f, 0x14022359f mov rcx, rax ; +0x54, 0x1402235a4 call qword ptr [r8+4A8h] ; +0x57, 0x1402235a7 jmp short loc_1402235D4 ; +0x5e, 0x1402235ae lea rdx, dword_1406C1D28 ; +0x60, 0x1402235b0 lea rcx, [rsp+28h+arg_18] ; +0x67, 0x1402235b7 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x6c, 0x1402235bc jmp short loc_1402235D4 ; +0x72, 0x1402235c2 mov rcx, [rdi+0DA0h] ; +0x74, 0x1402235c4 mov rax, [rcx] ; +0x7b, 0x1402235cb call qword ptr [rax+0C8h] ; +0x7e, 0x1402235ce mov rdx, rax ; +0x84, 0x1402235d4 mov rcx, rbx ; +0x87, 0x1402235d7 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x8a, 0x1402235da mov rsi, [rsp+28h+arg_10] ; +0x90, 0x1402235e0 mov rax, rbx ; +0x95, 0x1402235e5 mov rbx, [rsp+28h+arg_0] ; +0x98, 0x1402235e8 add rsp, 20h ; +0x9d, 0x1402235ed pop rdi ; +0xa1, 0x1402235f1 retn ; +0xa2, 0x1402235f2