; ; GJBaseGameLayer::rotateGameplay from 0x14031f980 to 0x14031fb2b (427 bytes) ; ; 6 xrefs: ; > @ 0x14076b868 ; > @ 0x14078b2e0 ; > @ 0x1407d5ec8 ; > @ 0x1408b5558 ; > @ 0x1408b558c ; > @ 0x14091ed58 ; ; 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:22 +0000 ; push rdi ; +0x0, 0x14031f980 sub rsp, 60h ; +0x2, 0x14031f982 cmp byte ptr [rdx+754h], 0 ; +0x6, 0x14031f986 mov rdi, rcx ; +0xd, 0x14031f98d mov [rsp+68h+arg_0], rbx ; +0x10, 0x14031f990 mov rbx, rdx ; +0x15, 0x14031f995 mov [rsp+68h+var_18], rsi ; +0x18, 0x14031f998 jz short loc_14031F9E9 ; +0x1d, 0x14031f99d mov eax, [rdx+758h] ; +0x1f, 0x14031f99f lea r8, [rcx+33Ch] ; +0x25, 0x14031f9a5 mov [r8], eax ; +0x2c, 0x14031f9ac mov eax, [rdx+744h] ; +0x2f, 0x14031f9af mov [rsp+68h+var_10], rbp ; +0x35, 0x14031f9b5 cmp eax, 3 ; +0x3a, 0x14031f9ba jz short loc_14031F9C9 ; +0x3d, 0x14031f9bd cmp eax, 2 ; +0x3f, 0x14031f9bf jz short loc_14031F9C9 ; +0x42, 0x14031f9c2 xor bpl, bpl ; +0x44, 0x14031f9c4 jmp short loc_14031F9CC ; +0x47, 0x14031f9c7 mov bpl, 1 ; +0x49, 0x14031f9c9 add rcx, 388h ; +0x4c, 0x14031f9cc lea rdx, [rsp+68h+var_28] ; +0x53, 0x14031f9d3 call sub_140358A00 ; +0x58, 0x14031f9d8 mov rcx, [rax] ; +0x5d, 0x14031f9dd mov [rcx+14h], bpl ; +0x60, 0x14031f9e0 mov rbp, [rsp+68h+var_10] ; +0x64, 0x14031f9e4 cmp byte ptr [rbx+755h], 0 ; +0x69, 0x14031f9e9 jnz loc_14031FAFE ; +0x70, 0x14031f9f0 movzx eax, byte ptr [rbx+75Dh] ; +0x76, 0x14031f9f6 movss xmm0, dword ptr [rbx+750h] ; +0x7d, 0x14031f9fd movss xmm1, dword ptr [rbx+74Ch] ; +0x85, 0x14031fa05 movzx r9d, byte ptr [rbx+748h] ; +0x8d, 0x14031fa0d mov r8d, [rbx+744h] ; +0x95, 0x14031fa15 mov edx, [rbx+740h] ; +0x9c, 0x14031fa1c mov rcx, [rdi+0DB8h] ; +0xa2, 0x14031fa22 mov [rsp+68h+var_30], al ; +0xa9, 0x14031fa29 movzx eax, byte ptr [rbx+749h] ; +0xad, 0x14031fa2d mov [rsp+68h+var_38], al ; +0xb4, 0x14031fa34 movss [rsp+68h+var_40], xmm0 ; +0xb8, 0x14031fa38 movss [rsp+68h+var_48], xmm1 ; +0xbe, 0x14031fa3e call PlayerObject__rotateGameplay ; +0xc4, 0x14031fa44 cmp byte ptr [rdi+422h], 0 ; +0xc9, 0x14031fa49 jz short loc_14031FAA5 ; +0xd0, 0x14031fa50 movzx eax, byte ptr [rbx+75Dh] ; +0xd2, 0x14031fa52 movss xmm0, dword ptr [rbx+750h] ; +0xd9, 0x14031fa59 movss xmm1, dword ptr [rbx+74Ch] ; +0xe1, 0x14031fa61 movzx r9d, byte ptr [rbx+748h] ; +0xe9, 0x14031fa69 mov r8d, [rbx+744h] ; +0xf1, 0x14031fa71 mov edx, [rbx+740h] ; +0xf8, 0x14031fa78 mov rcx, [rdi+0DC0h] ; +0xfe, 0x14031fa7e mov [rsp+68h+var_30], al ; +0x105, 0x14031fa85 movzx eax, byte ptr [rbx+749h] ; +0x109, 0x14031fa89 mov [rsp+68h+var_38], al ; +0x110, 0x14031fa90 movss [rsp+68h+var_40], xmm0 ; +0x114, 0x14031fa94 movss [rsp+68h+var_48], xmm1 ; +0x11a, 0x14031fa9a call PlayerObject__rotateGameplay ; +0x120, 0x14031faa0 mov rcx, [rdi+0DB8h] ; +0x125, 0x14031faa5 mov rax, [rcx] ; +0x12c, 0x14031faac call qword ptr [rax+0C8h] ; +0x12f, 0x14031faaf mov rdx, rax ; +0x135, 0x14031fab5 lea rcx, [rsp+68h+arg_10] ; +0x138, 0x14031fab8 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x140, 0x14031fac0 mov rax, [rbx] ; +0x146, 0x14031fac6 lea rdx, [rsp+68h+arg_8] ; +0x149, 0x14031fac9 mov rcx, rbx ; +0x14e, 0x14031face call qword ptr [rax+4B8h] ; +0x151, 0x14031fad1 lea r8, [rsp+68h+arg_8] ; +0x157, 0x14031fad7 lea rdx, [rsp+68h+arg_18] ; +0x15c, 0x14031fadc lea rcx, [rsp+68h+arg_10] ; +0x164, 0x14031fae4 call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x16c, 0x14031faec mov rax, [rdi] ; +0x172, 0x14031faf2 mov rcx, rdi ; +0x175, 0x14031faf5 call qword ptr [rax+518h] ; +0x178, 0x14031faf8 cmp byte ptr [rbx+75Ch], 0 ; +0x17e, 0x14031fafe mov rbx, [rsp+68h+arg_0] ; +0x185, 0x14031fb05 mov rsi, [rsp+68h+var_18] ; +0x18a, 0x14031fb0a jz short loc_14031FB25 ; +0x18f, 0x14031fb0f mov dword ptr [rdi+2B4h], 3F800000h ; +0x191, 0x14031fb11 mov dword ptr [rdi+2B8h], 3F800000h ; +0x19b, 0x14031fb1b add rsp, 60h ; +0x1a5, 0x14031fb25 pop rdi ; +0x1a9, 0x14031fb29 retn ; +0x1aa, 0x14031fb2a