//
// GJBaseGameLayer::resetStaticCamera from 0x140349a00 to 0x140349acd (205 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::loadStartPosObject @ 0x14033e640
// > GJBaseGameLayer::resetCamera @ 0x1403499a8
// > ??> @ 0x14091ffac
//
// This function is hookable on this platform (idp: pc, 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 11:30:44 +0000
//
void __fastcall GJBaseGameLayer::resetStaticCamera(_DWORD *a1, char a2, char a3)
{
int v4; // [rsp+40h] [rbp+18h] BYREF
LOBYTE(v4) = a3;
if ( a2 )
{
v4 = 10;
sub_140355080(a1 + 266, &v4);
v4 = 12;
sub_140355080(a1 + 266, &v4);
a1[120] = 0;
a1[124] = 0;
a1[142] = 0;
a1[144] = 0;
a1[152] = 0;
}
v4 = 11;
sub_140355080(a1 + 266, &v4);
v4 = 13;
sub_140355080(a1 + 266, &v4);
a1[121] = 0;
a1[125] = 0;
a1[143] = 0;
a1[145] = 0;
a1[153] = 0;
}