; ; GJBaseGameLayer::checkCameraLimitAfterTeleport from 0x140239ba0 to 0x140239c59 (185 bytes) ; ; 3 xrefs: ; > GJBaseGameLayer::teleportPlayer @ 0x1402107ac ; > PlayerObject::spiderTestJumpInternal @ 0x14039513c ; > @ 0x1406ce1cc ; ; 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_8], rbx ; +0x0, 0x140239ba0 push rdi ; +0x5, 0x140239ba5 sub rsp, 40h ; +0x6, 0x140239ba6 movss xmm0, dword ptr [rcx+23Ch] ; +0xa, 0x140239baa mov rdi, rdx ; +0x12, 0x140239bb2 movaps [rsp+48h+var_18], xmm6 ; +0x15, 0x140239bb5 mov rbx, rcx ; +0x1a, 0x140239bba xorps xmm6, xmm6 ; +0x1d, 0x140239bbd movaps [rsp+48h+var_28], xmm7 ; +0x20, 0x140239bc0 ucomiss xmm0, xmm6 ; +0x25, 0x140239bc5 movaps xmm7, xmm2 ; +0x28, 0x140239bc8 jp short loc_140239C44 ; +0x2b, 0x140239bcb jnz short loc_140239C44 ; +0x2d, 0x140239bcd cmp byte ptr [rdx+9C3h], 0 ; +0x2f, 0x140239bcf jnz short loc_140239C44 ; +0x36, 0x140239bd6 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x38, 0x140239bd8 mov rcx, rax ; +0x3e, 0x140239bde lea rdx, [rsp+48h+arg_0] ; +0x41, 0x140239be1 call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x46, 0x140239be6 mov rax, [rdi] ; +0x4c, 0x140239bec mov rcx, rdi ; +0x4f, 0x140239bef call qword ptr [rax+0C8h] ; +0x52, 0x140239bf2 movss xmm1, [rsp+48h+arg_4] ; +0x58, 0x140239bf8 addss xmm1, dword ptr [rbx+414h] ; +0x5e, 0x140239bfe movss xmm0, dword ptr [rax+4] ; +0x66, 0x140239c06 addss xmm1, xmm7 ; +0x6b, 0x140239c0b comiss xmm0, xmm1 ; +0x6f, 0x140239c0f ja short loc_140239C32 ; +0x72, 0x140239c12 mov rax, [rdi] ; +0x74, 0x140239c14 mov rcx, rdi ; +0x77, 0x140239c17 call qword ptr [rax+0C8h] ; +0x7a, 0x140239c1a movss xmm0, dword ptr [rbx+414h] ; +0x80, 0x140239c20 subss xmm0, xmm7 ; +0x88, 0x140239c28 comiss xmm0, dword ptr [rax+4] ; +0x8c, 0x140239c2c jbe short loc_140239C44 ; +0x90, 0x140239c30 xorps xmm1, xmm1 ; +0x92, 0x140239c32 mov byte ptr [rbx+761h], 1 ; +0x95, 0x140239c35 mov rcx, rbx ; +0x9c, 0x140239c3c call GJBaseGameLayer__updateCamera ; +0x9f, 0x140239c3f mov rbx, [rsp+48h+arg_8] ; +0xa4, 0x140239c44 movaps xmm6, [rsp+48h+var_18] ; +0xa9, 0x140239c49 movaps xmm7, [rsp+48h+var_28] ; +0xae, 0x140239c4e add rsp, 40h ; +0xb3, 0x140239c53 pop rdi ; +0xb7, 0x140239c57 retn ; +0xb8, 0x140239c58