// // 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 // void __fastcall GJBaseGameLayer::rotateGameplay(__int64 a1, __int64 a2) { int v4; // eax bool v5; // bp const struct cocos2d::CCPoint *v6; // rax _BYTE v7[16]; // [rsp+40h] [rbp-28h] BYREF char v8; // [rsp+78h] [rbp+10h] BYREF char v9; // [rsp+80h] [rbp+18h] BYREF char v10; // [rsp+88h] [rbp+20h] BYREF if ( *(_BYTE *)(a2 + 1876) ) { *(_DWORD *)(a1 + 828) = *(_DWORD *)(a2 + 1880); v4 = *(_DWORD *)(a2 + 1860); v5 = v4 == 3 || v4 == 2; *(_BYTE *)(*(_QWORD *)sub_140358A00(a1 + 904, v7) + 20LL) = v5; } if ( !*(_BYTE *)(a2 + 1877) ) { PlayerObject::rotateGameplay( *(_QWORD *)(a1 + 3512), *(_DWORD *)(a2 + 1856), *(_DWORD *)(a2 + 1860), *(unsigned __int8 *)(a2 + 1864), *(_DWORD *)(a2 + 1868), *(_DWORD *)(a2 + 1872), *(_BYTE *)(a2 + 1865), *(_BYTE *)(a2 + 1885)); if ( *(_BYTE *)(a1 + 1058) ) PlayerObject::rotateGameplay( *(_QWORD *)(a1 + 3520), *(_DWORD *)(a2 + 1856), *(_DWORD *)(a2 + 1860), *(unsigned __int8 *)(a2 + 1864), *(_DWORD *)(a2 + 1868), *(_DWORD *)(a2 + 1872), *(_BYTE *)(a2 + 1865), *(_BYTE *)(a2 + 1885)); v6 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 3512) + 200LL))(*(_QWORD *)(a1 + 3512)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v9, v6); (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)a2 + 1208LL))(a2, &v8); cocos2d::CCPoint::operator-(&v9, &v10, &v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1304LL))(a1); } if ( *(_BYTE *)(a2 + 1884) ) { *(_DWORD *)(a1 + 692) = 1065353216; *(_DWORD *)(a1 + 696) = 1065353216; } }