; ; GJBaseGameLayer::checkCameraLimitAfterTeleport from 0x1403427b0 to 0x140342869 (185 bytes) ; ; 3 xrefs: ; > GJBaseGameLayer::teleportPlayer @ 0x14031696e ; > PlayerObject::spiderTestJumpInternal @ 0x1404f3337 ; > @ 0x14091fdf0 ; ; 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:40 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x1403427b0 push rdi ; +0x5, 0x1403427b5 sub rsp, 40h ; +0x6, 0x1403427b6 movss xmm0, dword ptr [rcx+23Ch] ; +0xa, 0x1403427ba mov rdi, rdx ; +0x12, 0x1403427c2 movaps [rsp+48h+var_18], xmm6 ; +0x15, 0x1403427c5 mov rbx, rcx ; +0x1a, 0x1403427ca xorps xmm6, xmm6 ; +0x1d, 0x1403427cd movaps [rsp+48h+var_28], xmm7 ; +0x20, 0x1403427d0 ucomiss xmm0, xmm6 ; +0x25, 0x1403427d5 movaps xmm7, xmm2 ; +0x28, 0x1403427d8 jp short loc_140342854 ; +0x2b, 0x1403427db jnz short loc_140342854 ; +0x2d, 0x1403427dd cmp byte ptr [rdx+9CBh], 0 ; +0x2f, 0x1403427df jnz short loc_140342854 ; +0x36, 0x1403427e6 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x38, 0x1403427e8 mov rcx, rax ; +0x3e, 0x1403427ee lea rdx, [rsp+48h+arg_0] ; +0x41, 0x1403427f1 call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x46, 0x1403427f6 mov rax, [rdi] ; +0x4c, 0x1403427fc mov rcx, rdi ; +0x4f, 0x1403427ff call qword ptr [rax+0C8h] ; +0x52, 0x140342802 movss xmm1, [rsp+48h+arg_4] ; +0x58, 0x140342808 addss xmm1, dword ptr [rbx+414h] ; +0x5e, 0x14034280e movss xmm0, dword ptr [rax+4] ; +0x66, 0x140342816 addss xmm1, xmm7 ; +0x6b, 0x14034281b comiss xmm0, xmm1 ; +0x6f, 0x14034281f ja short loc_140342842 ; +0x72, 0x140342822 mov rax, [rdi] ; +0x74, 0x140342824 mov rcx, rdi ; +0x77, 0x140342827 call qword ptr [rax+0C8h] ; +0x7a, 0x14034282a movss xmm0, dword ptr [rbx+414h] ; +0x80, 0x140342830 subss xmm0, xmm7 ; +0x88, 0x140342838 comiss xmm0, dword ptr [rax+4] ; +0x8c, 0x14034283c jbe short loc_140342854 ; +0x90, 0x140342840 xorps xmm1, xmm1 ; +0x92, 0x140342842 mov byte ptr [rbx+761h], 1 ; +0x95, 0x140342845 mov rcx, rbx ; +0x9c, 0x14034284c call GJBaseGameLayer__updateCamera ; +0x9f, 0x14034284f mov rbx, [rsp+48h+arg_8] ; +0xa4, 0x140342854 movaps xmm6, [rsp+48h+var_18] ; +0xa9, 0x140342859 movaps xmm7, [rsp+48h+var_28] ; +0xae, 0x14034285e add rsp, 40h ; +0xb3, 0x140342863 pop rdi ; +0xb7, 0x140342867 retn ; +0xb8, 0x140342868