; ; GJBaseGameLayer::flipGravity from 0x140319e20 to 0x140319f32 (274 bytes) ; ; 11 xrefs: ; > GJBaseGameLayer::collisionCheckObjects @ 0x14031c055 ; > GJBaseGameLayer::collisionCheckObjects @ 0x14031c113 ; > GJBaseGameLayer::collisionCheckObjects @ 0x14031c1d9 ; > GJBaseGameLayer::collisionCheckObjects @ 0x14031cd83 ; > PlayerObject::ringJump @ 0x1404f7316 ; > PlayerObject::ringJump @ 0x1404f73cd ; > PlayerObject::ringJump @ 0x1404f7658 ; > PlayerObject::ringJump @ 0x1404f7718 ; > PlayerObject::ringJump @ 0x1404f78bb ; > PlayerObject::ringJump @ 0x1404f797b ; > @ 0x14091eb84 ; ; 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:19 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140319e20 mov [rsp+arg_8], rbp ; +0x5, 0x140319e25 mov [rsp+arg_10], rsi ; +0xa, 0x140319e2a push rdi ; +0xf, 0x140319e2f sub rsp, 20h ; +0x10, 0x140319e30 movzx esi, r9b ; +0x14, 0x140319e34 movzx edi, r8b ; +0x18, 0x140319e38 mov rbp, rdx ; +0x1c, 0x140319e3c mov rbx, rcx ; +0x1f, 0x140319e3f cmp [rdx+9C7h], r8b ; +0x22, 0x140319e42 jz loc_140319F1D ; +0x29, 0x140319e49 movzx r8d, r9b ; +0x2f, 0x140319e4f movzx edx, dil ; +0x33, 0x140319e53 mov rcx, rbp ; +0x37, 0x140319e57 call PlayerObject__flipGravity ; +0x3a, 0x140319e5a cmp byte ptr [rbx+860h], 0 ; +0x3f, 0x140319e5f jnz loc_140319F1D ; +0x46, 0x140319e66 cmp byte ptr [rbx+422h], 0 ; +0x4c, 0x140319e6c jz loc_140319F1D ; +0x53, 0x140319e73 mov rax, [rbx+0DC8h] ; +0x59, 0x140319e79 cmp byte ptr [rax+154h], 0 ; +0x60, 0x140319e80 jnz loc_140319F1D ; +0x67, 0x140319e87 mov r9, [rbx+0DC0h] ; +0x6d, 0x140319e8d mov rcx, [rbx+0DB8h] ; +0x74, 0x140319e94 movzx eax, byte ptr [r9+9C1h] ; +0x7b, 0x140319e9b cmp [rcx+9C1h], al ; +0x83, 0x140319ea3 jnz short loc_140319F1D ; +0x89, 0x140319ea9 movzx eax, byte ptr [r9+9C3h] ; +0x8b, 0x140319eab cmp [rcx+9C3h], al ; +0x93, 0x140319eb3 jnz short loc_140319F1D ; +0x99, 0x140319eb9 movzx eax, byte ptr [r9+9C2h] ; +0x9b, 0x140319ebb cmp [rcx+9C2h], al ; +0xa3, 0x140319ec3 jnz short loc_140319F1D ; +0xa9, 0x140319ec9 movzx eax, byte ptr [r9+9C6h] ; +0xab, 0x140319ecb cmp [rcx+9C6h], al ; +0xb3, 0x140319ed3 jnz short loc_140319F1D ; +0xb9, 0x140319ed9 movzx eax, byte ptr [r9+9C5h] ; +0xbb, 0x140319edb cmp [rcx+9C5h], al ; +0xc3, 0x140319ee3 jnz short loc_140319F1D ; +0xc9, 0x140319ee9 movzx eax, byte ptr [r9+9CCh] ; +0xcb, 0x140319eeb cmp [rcx+9CCh], al ; +0xd3, 0x140319ef3 jnz short loc_140319F1D ; +0xd9, 0x140319ef9 mov eax, [rcx+39Ch] ; +0xdb, 0x140319efb xor dil, 1 ; +0xe1, 0x140319f01 movzx r8d, sil ; +0xe5, 0x140319f05 movzx edx, dil ; +0xe9, 0x140319f09 cmp [rbp+39Ch], eax ; +0xed, 0x140319f0d jnz short loc_140319F18 ; +0xf3, 0x140319f13 mov rcx, r9 ; +0xf5, 0x140319f15 call PlayerObject__flipGravity ; +0xf8, 0x140319f18 mov rbx, [rsp+28h+arg_0] ; +0xfd, 0x140319f1d mov rbp, [rsp+28h+arg_8] ; +0x102, 0x140319f22 mov rsi, [rsp+28h+arg_10] ; +0x107, 0x140319f27 add rsp, 20h ; +0x10c, 0x140319f2c pop rdi ; +0x110, 0x140319f30 retn ; +0x111, 0x140319f31