//
// GJBaseGameLayer::resetStaticCamera from 0x9bb320 to 0x9bb3c0 (160 bytes)
//
// 4 xrefs:
// > GJBaseGameLayer::animateOutGroundNew @ 0x9e3698
// > GJBaseGameLayer::resetCamera @ 0x9e70f0
// > GJBaseGameLayer::loadStartPosObject @ 0x9ec12c
// > ??> @ 0x4fbd0
//
// 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:58:25 +0000
//
float __fastcall GJBaseGameLayer::resetStaticCamera(GJBaseGameLayer *this, char a2, unsigned __int8 a3)
{
int v4; // w20
GJGameState *v5; // x21
float result; // s0
v4 = a3;
if ( a2 )
{
v5 = (GJBaseGameLayer *)((char *)this + 424);
GJGameState::stopTweenAction((GJBaseGameLayer *)((char *)this + 424), 10);
GJGameState::stopTweenAction(v5, 12);
result = 0.0;
*((_DWORD *)this + 120) = 0;
*((_DWORD *)this + 124) = 0;
*((_DWORD *)this + 142) = 0;
*((_DWORD *)this + 144) = 0;
*((_DWORD *)this + 152) = 0;
}
if ( v4 )
{
GJGameState::stopTweenAction((GJBaseGameLayer *)((char *)this + 424), 11);
GJGameState::stopTweenAction((GJBaseGameLayer *)((char *)this + 424), 13);
*((_DWORD *)this + 121) = 0;
*((_DWORD *)this + 125) = 0;
*((_DWORD *)this + 143) = 0;
*((_DWORD *)this + 145) = 0;
*((_DWORD *)this + 153) = 0;
return 0.0;
}
return result;
}