//
// GJBaseGameLayer::flipObjects from 0x1002a4ec4 to 0x1002a4f7c (184 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::visit @ 0x1002a5240
// > GJBaseGameLayer::visit @ 0x1002a5f78
//
// This function is hookable on this platform (idp: arm, 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:02:14 +0000
//
__int64 __fastcall GJBaseGameLayer::flipObjects(__int64 a1)
{
__int64 v2; // x20
float v3; // s0
__int64 v4; // x20
float v5; // s0
__int64 v6; // x20
float v7; // s0
__int64 v8; // x19
float v9; // s0
v2 = *(_QWORD *)(a1 + 3256);
v3 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v2 + 136LL))(v2);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v2 + 128LL))(v2, -v3);
v4 = *(_QWORD *)(a1 + 3256);
v5 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v4 + 368LL))(v4);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 360LL))(v4, -v5);
v6 = *(_QWORD *)(a1 + 3264);
v7 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v6 + 136LL))(v6);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 128LL))(v6, -v7);
v8 = *(_QWORD *)(a1 + 3264);
v9 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v8 + 368LL))(v8);
return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 360LL))(v8, -v9);
}