; ; GJBaseGameLayer::checkpointActivated from 0x140350df0 to 0x14035102d (573 bytes) ; ; 4 xrefs: ; > LevelEditorLayer::checkpointActivated @ 0x1404008a7 ; > PlayLayer::checkpointActivated @ 0x140514190 ; > @ 0x14076b8b8 ; > @ 0x1409202dc ; ; 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:47 +0000 ; push rbx ; +0x0, 0x140350df0 push rsi ; +0x2, 0x140350df2 push rdi ; +0x3, 0x140350df3 sub rsp, 80h ; +0x4, 0x140350df4 movaps [rsp+98h+var_28], xmm6 ; +0xb, 0x140350dfb movaps [rsp+98h+var_38], xmm7 ; +0x10, 0x140350e00 movaps [rsp+98h+var_48], xmm9 ; +0x15, 0x140350e05 mov rbx, rdx ; +0x1b, 0x140350e0b mov rdi, rcx ; +0x1e, 0x140350e0e cmp byte ptr [rdx+41Ch], 0 ; +0x21, 0x140350e11 jnz loc_140351012 ; +0x28, 0x140350e18 mov rax, [rdx] ; +0x2e, 0x140350e1e lea rdx, [rsp+98h+arg_8] ; +0x31, 0x140350e21 mov rcx, rbx ; +0x39, 0x140350e29 call qword ptr [rax+4B8h] ; +0x3c, 0x140350e2c call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x42, 0x140350e32 mov rcx, rax ; +0x48, 0x140350e38 lea rdx, [rsp+98h+arg_18] ; +0x4b, 0x140350e3b call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x53, 0x140350e43 movss xmm6, [rsp+98h+arg_8] ; +0x59, 0x140350e49 movaps xmm7, xmm6 ; +0x62, 0x140350e52 subss xmm7, cs:dword_1408356B0 ; +0x65, 0x140350e55 addss xmm6, cs:dword_1408357B0 ; +0x6d, 0x140350e5d call cs:rand ; +0x75, 0x140350e65 movd xmm9, eax ; +0x7b, 0x140350e6b cvtdq2ps xmm9, xmm9 ; +0x80, 0x140350e70 divss xmm9, cs:dword_140835BDC ; +0x84, 0x140350e74 subss xmm6, xmm7 ; +0x8d, 0x140350e7d mulss xmm9, xmm6 ; +0x91, 0x140350e81 addss xmm9, xmm7 ; +0x96, 0x140350e86 movss xmm6, [rsp+98h+arg_1C] ; +0x9b, 0x140350e8b addss xmm6, cs:dword_1408356B0 ; +0xa4, 0x140350e94 mov rcx, [rdi+10C8h] ; +0xac, 0x140350e9c mov rax, [rcx] ; +0xb3, 0x140350ea3 call qword ptr [rax+0A8h] ; +0xb6, 0x140350ea6 divss xmm6, xmm0 ; +0xbc, 0x140350eac addss xmm6, dword ptr [rdi+414h] ; +0xc0, 0x140350eb0 movaps xmm2, xmm6 ; +0xc8, 0x140350eb8 movaps xmm1, xmm9 ; +0xcb, 0x140350ebb lea rcx, [rsp+98h+var_78] ; +0xcf, 0x140350ebf call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xd4, 0x140350ec4 mov rcx, [rbx+380h] ; +0xda, 0x140350eca add rcx, 140h ; +0xe1, 0x140350ed1 mov rax, [rcx] ; +0xe8, 0x140350ed8 call qword ptr [rax+8] ; +0xeb, 0x140350edb movzx ecx, word ptr [rax] ; +0xee, 0x140350ede mov [rsp+98h+arg_10], cx ; +0xf1, 0x140350ee1 movzx eax, byte ptr [rax+2] ; +0xf9, 0x140350ee9 mov [rsp+98h+arg_12], al ; +0xfd, 0x140350eed lea rdx, [rsp+98h+arg_8] ; +0x104, 0x140350ef4 lea rcx, [rsp+98h+var_68] ; +0x10c, 0x140350efc call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x111, 0x140350f01 mov rbx, rax ; +0x117, 0x140350f07 lea rdx, [rsp+98h+var_78] ; +0x11a, 0x140350f0a lea rcx, [rsp+98h+var_60] ; +0x11f, 0x140350f0f call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x124, 0x140350f14 mov rsi, rax ; +0x12a, 0x140350f1a mov r8, rax ; +0x12d, 0x140350f1d lea rdx, [rsp+98h+var_70] ; +0x130, 0x140350f20 mov rcx, rbx ; +0x135, 0x140350f25 call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x138, 0x140350f28 mov rcx, cs:qword_14090BFD0 ; +0x13e, 0x140350f2e test rcx, rcx ; +0x145, 0x140350f35 jnz short loc_140350F6C ; +0x148, 0x140350f38 mov ecx, 6E8h; Size ; +0x14a, 0x140350f3a call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x14f, 0x140350f3f mov [rsp+98h+var_58], rax ; +0x154, 0x140350f44 mov rcx, rax ; +0x159, 0x140350f49 call GameManager__GameManager ; +0x15c, 0x140350f4c nop ; +0x161, 0x140350f51 mov cs:qword_14090BFD0, rax ; +0x162, 0x140350f52 mov rcx, [rax] ; +0x169, 0x140350f59 mov rdx, [rcx+48h] ; +0x16c, 0x140350f5c mov rcx, rax ; +0x170, 0x140350f60 call rdx ; +0x173, 0x140350f63 mov rcx, cs:qword_14090BFD0 ; +0x175, 0x140350f65 cmp byte ptr [rcx+3BDh], 0 ; +0x17c, 0x140350f6c jnz loc_140351012 ; +0x183, 0x140350f73 lea rdx, dword_14090AA70 ; +0x189, 0x140350f79 lea rcx, [rsp+98h+var_58] ; +0x190, 0x140350f80 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x195, 0x140350f85 mov rbx, rax ; +0x19b, 0x140350f8b lea rdx, [rsp+98h+var_70] ; +0x19e, 0x140350f8e lea rcx, [rsp+98h+var_50] ; +0x1a3, 0x140350f93 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x1a8, 0x140350f98 mov rcx, rax ; +0x1ae, 0x140350f9e movss xmm2, cs:dword_140834F20 ; +0x1b1, 0x140350fa1 mov rdx, rbx ; +0x1b9, 0x140350fa9 call cocos2d__CCLightning__lightningWithStrikePoint ; +0x1bc, 0x140350fac mov rbx, rax ; +0x1c1, 0x140350fb1 mov rcx, [rax] ; +0x1c4, 0x140350fb4 mov r8, [rcx+0B8h] ; +0x1c7, 0x140350fb7 mov rdx, rsi ; +0x1ce, 0x140350fbe mov rcx, rax ; +0x1d1, 0x140350fc1 call r8 ; +0x1d4, 0x140350fc4 lea rcx, [rbx+140h] ; +0x1d7, 0x140350fc7 mov rdx, [rcx] ; +0x1de, 0x140350fce mov r8, [rdx] ; +0x1e1, 0x140350fd1 lea rdx, [rsp+98h+arg_10] ; +0x1e4, 0x140350fd4 call r8 ; +0x1ec, 0x140350fdc mov dword ptr [rbx+170h], 40A00000h ; +0x1ef, 0x140350fdf mov word ptr [rbx+174h], 101h ; +0x1f9, 0x140350fe9 mov dword ptr [rbx+17Ch], 3F800000h ; +0x202, 0x140350ff2 mov rcx, [rdi+10C8h] ; +0x20c, 0x140350ffc mov rax, [rcx] ; +0x213, 0x140351003 xor r8d, r8d ; +0x216, 0x140351006 mov rdx, rbx ; +0x219, 0x140351009 call qword ptr [rax+1C8h] ; +0x21c, 0x14035100c movaps xmm6, [rsp+98h+var_28] ; +0x222, 0x140351012 movaps xmm7, [rsp+98h+var_38] ; +0x227, 0x140351017 movaps xmm9, [rsp+98h+var_48] ; +0x22c, 0x14035101c add rsp, 80h ; +0x232, 0x140351022 pop rdi ; +0x239, 0x140351029 pop rsi ; +0x23a, 0x14035102a pop rbx ; +0x23b, 0x14035102b retn ; +0x23c, 0x14035102c