//
// PlayLayer::updateScreenRotation from 0x6f3d04 to 0x6f3dc4 (192 bytes)
//
// 1 xrefs:
// > ??> @ 0x75028
//
// 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 12:51:49 +0000
//
__int64 __fastcall PlayLayer::updateScreenRotation(
PlayLayer *this,
int a2,
unsigned __int8 a3,
unsigned __int8 a4,
float a5,
int a6,
float a7,
int a8,
int a9)
{
float v9; // s2
float v10; // s8
int v11; // w19
int v12; // w2
int v14; // w3
float v15; // s9
int v17; // [xsp+38h] [xbp+38h]
int v19; // [xsp+50h] [xbp+50h]
char v21; // [xsp+60h] [xbp+60h]
PlayLayer *v22; // [xsp+68h] [xbp+68h]
v9 = a7;
v10 = (float)a2;
v11 = a3;
v12 = a4;
v14 = a6;
v15 = (float)a2;
if ( v11 )
v15 = v10 + *((float *)this + 202);
if ( v12 )
{
v17 = a9;
v19 = a8;
v21 = v12;
v22 = this;
GJBaseGameLayer::convertToClosestDirection(this, v15, 180.0);
a9 = v17;
a8 = v19;
v9 = a7;
v14 = a6;
LOBYTE(v12) = v21;
this = v22;
}
if ( v15 != *((float *)this + 202) )
*((_BYTE *)this + 12636) = 1;
return GJBaseGameLayer::updateScreenRotation(this, v10, v11, v12, a5, v14, v9, a8, a9);
}