; ; GJBaseGameLayer::rotateGameplay from 0x1402181c0 to 0x140218361 (417 bytes) ; ; 6 xrefs: ; > @ 0x140567088 ; > @ 0x1405863e0 ; > @ 0x1405c9c70 ; > @ 0x14067f614 ; > @ 0x14067f648 ; > @ 0x1406cd218 ; ; 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 rsi ; +0x0, 0x1402181c0 sub rsp, 60h ; +0x2, 0x1402181c2 cmp byte ptr [rdx+754h], 0 ; +0x6, 0x1402181c6 mov rsi, rcx ; +0xd, 0x1402181cd mov [rsp+68h+var_10], rdi ; +0x10, 0x1402181d0 mov rdi, rdx ; +0x15, 0x1402181d5 mov [rsp+68h+var_18], r14 ; +0x18, 0x1402181d8 jz short loc_14021821F ; +0x1d, 0x1402181dd mov eax, [rdx+758h] ; +0x1f, 0x1402181df lea r8, [rcx+33Ch] ; +0x25, 0x1402181e5 mov [r8], eax ; +0x2c, 0x1402181ec mov eax, [rdx+744h] ; +0x2f, 0x1402181ef lea rdx, [rsp+68h+var_28] ; +0x35, 0x1402181f5 sub eax, 2 ; +0x3a, 0x1402181fa mov [rsp+68h+arg_0], rbx ; +0x3d, 0x1402181fd cmp eax, 1 ; +0x42, 0x140218202 setbe bl ; +0x45, 0x140218205 add rcx, 388h ; +0x48, 0x140218208 call sub_140250920 ; +0x4f, 0x14021820f mov rcx, [rax] ; +0x54, 0x140218214 mov [rcx+14h], bl ; +0x57, 0x140218217 mov rbx, [rsp+68h+arg_0] ; +0x5a, 0x14021821a cmp byte ptr [rdi+755h], 0 ; +0x5f, 0x14021821f jnz loc_140218334 ; +0x66, 0x140218226 movzx eax, byte ptr [rdi+75Dh] ; +0x6c, 0x14021822c movss xmm0, dword ptr [rdi+750h] ; +0x73, 0x140218233 movss xmm1, dword ptr [rdi+74Ch] ; +0x7b, 0x14021823b movzx r9d, byte ptr [rdi+748h] ; +0x83, 0x140218243 mov r8d, [rdi+744h] ; +0x8b, 0x14021824b mov edx, [rdi+740h] ; +0x92, 0x140218252 mov rcx, [rsi+0DA0h] ; +0x98, 0x140218258 mov [rsp+68h+var_30], al ; +0x9f, 0x14021825f movzx eax, byte ptr [rdi+749h] ; +0xa3, 0x140218263 mov [rsp+68h+var_38], al ; +0xaa, 0x14021826a movss [rsp+68h+var_40], xmm0 ; +0xae, 0x14021826e movss [rsp+68h+var_48], xmm1 ; +0xb4, 0x140218274 call PlayerObject__rotateGameplay ; +0xba, 0x14021827a cmp byte ptr [rsi+422h], 0 ; +0xbf, 0x14021827f jz short loc_1402182DB ; +0xc6, 0x140218286 movzx eax, byte ptr [rdi+75Dh] ; +0xc8, 0x140218288 movss xmm0, dword ptr [rdi+750h] ; +0xcf, 0x14021828f movss xmm1, dword ptr [rdi+74Ch] ; +0xd7, 0x140218297 movzx r9d, byte ptr [rdi+748h] ; +0xdf, 0x14021829f mov r8d, [rdi+744h] ; +0xe7, 0x1402182a7 mov edx, [rdi+740h] ; +0xee, 0x1402182ae mov rcx, [rsi+0DA8h] ; +0xf4, 0x1402182b4 mov [rsp+68h+var_30], al ; +0xfb, 0x1402182bb movzx eax, byte ptr [rdi+749h] ; +0xff, 0x1402182bf mov [rsp+68h+var_38], al ; +0x106, 0x1402182c6 movss [rsp+68h+var_40], xmm0 ; +0x10a, 0x1402182ca movss [rsp+68h+var_48], xmm1 ; +0x110, 0x1402182d0 call PlayerObject__rotateGameplay ; +0x116, 0x1402182d6 mov rcx, [rsi+0DA0h] ; +0x11b, 0x1402182db mov rax, [rcx] ; +0x122, 0x1402182e2 call qword ptr [rax+0C8h] ; +0x125, 0x1402182e5 mov rdx, rax ; +0x12b, 0x1402182eb lea rcx, [rsp+68h+arg_10] ; +0x12e, 0x1402182ee call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x136, 0x1402182f6 mov rax, [rdi] ; +0x13c, 0x1402182fc lea rdx, [rsp+68h+arg_8] ; +0x13f, 0x1402182ff mov rcx, rdi ; +0x144, 0x140218304 call qword ptr [rax+4A8h] ; +0x147, 0x140218307 lea r8, [rsp+68h+arg_8] ; +0x14d, 0x14021830d lea rdx, [rsp+68h+arg_18] ; +0x152, 0x140218312 lea rcx, [rsp+68h+arg_10] ; +0x15a, 0x14021831a call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x162, 0x140218322 mov rax, [rsi] ; +0x168, 0x140218328 mov rcx, rsi ; +0x16b, 0x14021832b call qword ptr [rax+4E8h] ; +0x16e, 0x14021832e cmp byte ptr [rdi+75Ch], 0 ; +0x174, 0x140218334 mov rdi, [rsp+68h+var_10] ; +0x17b, 0x14021833b mov r14, [rsp+68h+var_18] ; +0x180, 0x140218340 jz short loc_14021835B ; +0x185, 0x140218345 mov dword ptr [rsi+2B4h], 3F800000h ; +0x187, 0x140218347 mov dword ptr [rsi+2B8h], 3F800000h ; +0x191, 0x140218351 add rsp, 60h ; +0x19b, 0x14021835b pop rsi ; +0x19f, 0x14021835f retn ; +0x1a0, 0x140218360