//
// GJBaseGameLayer::resetStaticCamera from 0x59cf6a to 0x59cfca (96 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::animateOutGroundNew @ 0x5b687c
// > GJBaseGameLayer::resetCamera @ 0x5b9442
// > GJBaseGameLayer::loadStartPosObject @ 0x5bccbe
//
// 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:53:14 +0000
//
unsigned int __fastcall GJBaseGameLayer::resetStaticCamera(unsigned int this, int a2, int a3)
{
_DWORD *v3; // r4
unsigned int v5; // r5
v3 = (_DWORD *)this;
if ( a2 )
{
v5 = this + 328;
GJGameState::stopTweenAction(this + 328, 0xAu);
this = GJGameState::stopTweenAction(v5, 0xCu);
v3[96] = 0;
v3[100] = 0;
v3[118] = 0;
v3[120] = 0;
v3[128] = 0;
}
if ( a3 )
{
GJGameState::stopTweenAction((unsigned int)(v3 + 82), 0xBu);
this = GJGameState::stopTweenAction((unsigned int)(v3 + 82), 0xDu);
v3[97] = 0;
v3[101] = 0;
v3[119] = 0;
v3[121] = 0;
v3[129] = 0;
}
return this;
}