//
// GJBaseGameLayer::flipObjects from 0x86a4a4 to 0x86a558 (180 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::visit @ 0x86b6fc
// > GJBaseGameLayer::visit @ 0x86bb9c
// > ??> @ 0x4d5f8
//
// 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
//
void GJBaseGameLayer::flipObjects(GJBaseGameLayer *a1)
{
PlayerObject *m_player1; // x20
void (__fastcall *setScaleX)(PlayerObject *__hidden, float); // x21
float v4; // s0
PlayerObject *v5; // x20
void (__fastcall *setRotation)(PlayerObject *__hidden, float); // x21
float v7; // s0
PlayerObject *m_player2; // x20
void (__fastcall *v9)(PlayerObject *__hidden, float); // x21
float v10; // s0
PlayerObject *v11; // x19
void (__fastcall *v12)(PlayerObject *__hidden, float); // x20
float v13; // s0
m_player1 = a1->m_player1;
setScaleX = m_player1->setScaleX;
v4 = m_player1->getScaleX(m_player1);
setScaleX(m_player1, -v4);
v5 = a1->m_player1;
setRotation = v5->setRotation;
v7 = v5->getRotation(v5);
setRotation(v5, -v7);
m_player2 = a1->m_player2;
v9 = m_player2->setScaleX;
v10 = m_player2->getScaleX(m_player2);
v9(m_player2, -v10);
v11 = a1->m_player2;
v12 = v11->setRotation;
v13 = v11->getRotation(v11);
v12(v11, -v13);
}