//
// GJBaseGameLayer::resetStaticCamera from 0x100102fc0 to 0x1001030a2 (226 bytes)
//
// 0 xrefs:
//
// 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 12:21:21 +0000
//
__int64 __fastcall GJBaseGameLayer::resetStaticCamera(__int64 a1, int a2, char a3)
{
__int64 result; // rax
int v5[7]; // [rsp+0h] [rbp-1Ch] BYREF
v5[0] = HIDWORD(result);
if ( a2 )
{
v5[0] = 10;
sub_10001C120((__int64 *)(a1 + 1016), v5);
v5[0] = 12;
result = sub_10001C120((__int64 *)(a1 + 1016), v5);
*(_DWORD *)(a1 + 480) = 0;
*(_DWORD *)(a1 + 496) = 0;
*(_DWORD *)(a1 + 568) = 0;
*(_DWORD *)(a1 + 576) = 0;
*(_DWORD *)(a1 + 608) = 0;
}
if ( a3 )
{
v5[0] = 11;
sub_10001C120((__int64 *)(a1 + 1016), v5);
v5[0] = 13;
result = sub_10001C120((__int64 *)(a1 + 1016), v5);
*(_DWORD *)(a1 + 484) = 0;
*(_DWORD *)(a1 + 500) = 0;
*(_DWORD *)(a1 + 572) = 0;
*(_DWORD *)(a1 + 580) = 0;
*(_DWORD *)(a1 + 612) = 0;
}
return result;
}