; ; GJBaseGameLayer::updateScreenRotation from 0x140235e80 to 0x140235f6f (239 bytes) ; ; 4 xrefs: ; > @ 0x140567078 ; > @ 0x1405863d0 ; > @ 0x1405c9c60 ; > @ 0x1406ce094 ; ; 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, 0x140235e80 sub rsp, 70h ; +0x2, 0x140235e82 movaps [rsp+78h+var_18], xmm7 ; +0x6, 0x140235e86 mov rbx, rcx ; +0xb, 0x140235e8b movaps [rsp+78h+var_28], xmm8 ; +0xe, 0x140235e8e movaps xmm8, xmm1 ; +0x14, 0x140235e94 movaps xmm7, xmm1 ; +0x18, 0x140235e98 test r8b, r8b ; +0x1b, 0x140235e9b jz short loc_140235EB2 ; +0x1e, 0x140235e9e addss xmm7, dword ptr [rcx+328h] ; +0x20, 0x140235ea0 movss dword ptr [rcx+328h], xmm7 ; +0x28, 0x140235ea8 jmp short loc_140235EBB ; +0x30, 0x140235eb0 movss dword ptr [rcx+328h], xmm8 ; +0x32, 0x140235eb2 test r9b, r9b ; +0x3b, 0x140235ebb jz short loc_140235EF8 ; +0x3e, 0x140235ebe movss xmm1, cs:dword_1406233A4 ; +0x40, 0x140235ec0 movss xmm0, dword ptr [rcx+324h] ; +0x48, 0x140235ec8 call GJBaseGameLayer__convertToClosestDirection ; +0x50, 0x140235ed0 movss xmm1, cs:dword_1406233A4 ; +0x55, 0x140235ed5 movss dword ptr [rbx+324h], xmm0 ; +0x5d, 0x140235edd movaps xmm0, xmm7 ; +0x65, 0x140235ee5 call GJBaseGameLayer__convertToClosestDirection ; +0x68, 0x140235ee8 movss dword ptr [rbx+328h], xmm0 ; +0x6d, 0x140235eed movaps xmm7, xmm0 ; +0x75, 0x140235ef5 movss xmm1, [rsp+78h+arg_20] ; +0x78, 0x140235ef8 xorps xmm0, xmm0 ; +0x81, 0x140235f01 comiss xmm1, xmm0 ; +0x84, 0x140235f04 jbe short loc_140235F36 ; +0x87, 0x140235f07 lea rcx, [rbx+1A8h] ; +0x89, 0x140235f09 mov r9d, 11h ; +0x90, 0x140235f10 movaps xmm2, xmm7 ; +0x96, 0x140235f16 movss xmm1, dword ptr [rbx+324h] ; +0x99, 0x140235f19 movaps xmm7, [rsp+78h+var_18] ; +0xa1, 0x140235f21 movaps xmm8, [rsp+78h+var_28] ; +0xa6, 0x140235f26 add rsp, 70h ; +0xac, 0x140235f2c pop rbx ; +0xb0, 0x140235f30 jmp GJGameState__tweenValue ; +0xb1, 0x140235f31 lea rcx, [rbx+428h] ; +0xb6, 0x140235f36 mov [rsp+78h+arg_10], 11h ; +0xbd, 0x140235f3d lea rdx, [rsp+78h+arg_10] ; +0xc8, 0x140235f48 call sub_14024AC30 ; +0xd0, 0x140235f50 movaps xmm7, [rsp+78h+var_18] ; +0xd5, 0x140235f55 movss dword ptr [rbx+324h], xmm8 ; +0xda, 0x140235f5a movaps xmm8, [rsp+78h+var_28] ; +0xe3, 0x140235f63 add rsp, 70h ; +0xe9, 0x140235f69 pop rbx ; +0xed, 0x140235f6d retn ; +0xee, 0x140235f6e