//
// PlayLayer::updateScreenRotation from 0x3ffee4 to 0x3fff6a (134 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:23 +0000
//
int __fastcall PlayLayer::updateScreenRotation(
PlayLayer *this,
int a2,
float a3,
_BOOL4 a4,
float a5,
int a6,
float a7,
int a8,
int a9)
{
bool v10; // r5
bool v11; // r6
float v12; // s17
float v13; // s16
v10 = a4;
v11 = LOBYTE(a3);
v12 = (float)a2;
if ( a3 == 0.0 )
v13 = (float)a2;
else
v13 = v12 + *((float *)this + 178);
if ( a4 )
GJBaseGameLayer::convertToClosestDirection((GJBaseGameLayer *)LODWORD(v13), 180.0, a3);
if ( *((float *)this + 178) != v13 )
*((_BYTE *)this + 10856) = 1;
return GJBaseGameLayer::updateScreenRotation(this, v12, v11, v10, a5, a6, a7, a8, a9);
}