; ; GJBaseGameLayer::getMaxPortalY from 0x140213770 to 0x1402137e6 (118 bytes) ; ; 4 xrefs: ; > GJBaseGameLayer::checkCollisions @ 0x140213c3b ; > GJBaseGameLayer::update @ 0x140238809 ; > PlayerObject::spiderTestJumpInternal @ 0x140394542 ; > @ 0x1406cd0bc ; ; 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 ; push rbx ; +0x0, 0x140213770 sub rsp, 20h ; +0x2, 0x140213772 movss xmm1, dword ptr [rcx+23Ch] ; +0x6, 0x140213776 xorps xmm0, xmm0 ; +0xe, 0x14021377e ucomiss xmm1, xmm0 ; +0x11, 0x140213781 mov rbx, rcx ; +0x14, 0x140213784 jp short loc_14021378B ; +0x17, 0x140213787 jz short loc_1402137C7 ; +0x19, 0x140213789 cmp byte ptr [rcx+2A0h], 0 ; +0x1b, 0x14021378b jnz short loc_1402137C7 ; +0x22, 0x140213792 mov rcx, [rcx+1018h] ; +0x24, 0x140213794 mov rax, [rcx] ; +0x2b, 0x14021379b call qword ptr [rax+0C8h] ; +0x2e, 0x14021379e movss xmm0, dword ptr [rax+4] ; +0x34, 0x1402137a4 addss xmm0, cs:flt_140622C24 ; +0x39, 0x1402137a9 divss xmm0, dword ptr [rbx+1A8h] ; +0x41, 0x1402137b1 addss xmm0, dword ptr [rbx+510h] ; +0x49, 0x1402137b9 add rsp, 20h ; +0x51, 0x1402137c1 pop rbx ; +0x55, 0x1402137c5 retn ; +0x56, 0x1402137c6 call GJBaseGameLayer__getMinPortalY ; +0x57, 0x1402137c7 movss xmm1, dword ptr [rbx+2ECh] ; +0x5c, 0x1402137cc divss xmm1, dword ptr [rbx+1A8h] ; +0x64, 0x1402137d4 addss xmm0, xmm1 ; +0x6c, 0x1402137dc add rsp, 20h ; +0x70, 0x1402137e0 pop rbx ; +0x74, 0x1402137e4 retn ; +0x75, 0x1402137e5