//
// GJBaseGameLayer::resetCamera from 0x10029f794 to 0x10029f99c (520 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::resetLevelVariables @ 0x10029f390
//
// 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 11:02:12 +0000
//
double __fastcall GJBaseGameLayer::resetCamera(__int64 a1)
{
double result; // d0
int v7; // [xsp+Ch] [xbp-14h] BYREF
sub_10002630C((_QWORD *)(a1 + 576), (double *)&qword_1009F5820);
sub_10002630C((_QWORD *)(a1 + 568), (double *)&qword_1009F5820);
sub_10002630C((_QWORD *)(a1 + 584), (double *)&qword_1009F5820);
sub_10002630C((_QWORD *)(a1 + 600), (double *)&qword_1009F5820);
sub_10002630C((_QWORD *)(a1 + 592), (double *)&qword_1009F5820);
sub_10002630C((_QWORD *)(a1 + 608), (double *)&qword_1009F5820);
sub_10002630C((_QWORD *)(a1 + 616), (double *)&qword_1009F5820);
sub_10002630C((_QWORD *)(a1 + 512), (double *)&qword_1009F5820);
sub_10002630C((_QWORD *)(a1 + 472), (double *)&qword_1009F5820);
sub_10002630C((_QWORD *)(a1 + 528), (double *)&qword_1009F5820);
sub_10002630C((_QWORD *)(a1 + 536), (double *)&qword_1009F5820);
*(_WORD *)(a1 + 1720) = 0;
*(_DWORD *)(a1 + 1192) = 0;
*(_BYTE *)(a1 + 785) = 0;
*(_QWORD *)(a1 + 716) = 0x412000003F000000LL;
GJBaseGameLayer::updateZoom(a1, 0, -1, -1, 0.0, 0.0, 0.0);
*(_DWORD *)(a1 + 440) = 0;
v7 = 15;
sub_10001BB58((_QWORD *)(a1 + 1016), &v7);
*(_DWORD *)(a1 + 432) = *(_DWORD *)(a1 + 440);
*(_DWORD *)(a1 + 444) = 0;
v7 = 16;
sub_10001BB58((_QWORD *)(a1 + 1016), &v7);
*(_DWORD *)(a1 + 436) = *(_DWORD *)(a1 + 444);
*(_DWORD *)(a1 + 676) = 75;
*(_BYTE *)(a1 + 680) = 0;
*(_DWORD *)(a1 + 684) = 75;
*(_BYTE *)(a1 + 688) = 0;
*(_DWORD *)(a1 + 652) = 0;
v7 = 19;
sub_10001BB58((_QWORD *)(a1 + 1016), &v7);
*(_DWORD *)(a1 + 644) = *(_DWORD *)(a1 + 652);
*(_DWORD *)(a1 + 648) = 0;
v7 = 18;
sub_10001BB58((_QWORD *)(a1 + 1016), &v7);
*(_DWORD *)(a1 + 640) = *(_DWORD *)(a1 + 648);
*(_OWORD *)(a1 + 1056) = 0u;
(*(void (__fastcall **)(__int64, _QWORD, _QWORD, _QWORD, __int64, __int64, float, float, float))(*(_QWORD *)a1 + 1432LL))(
a1,
0,
0,
0,
0xFFFFFFFFLL,
0xFFFFFFFFLL,
0.0,
0.0,
0.0);
*(_QWORD *)(a1 + 12568) = 0;
*(_QWORD *)(a1 + 12628) = 0;
*(_BYTE *)(a1 + 12636) = 1;
sub_10002630C((_QWORD *)(a1 + 1148), (double *)&qword_1009F5820);
GJBaseGameLayer::resetStaticCamera((__int64 *)a1, 1, 1);
*(_BYTE *)(a1 + 1221) = 0;
*(_DWORD *)(a1 + 1224) = 0;
*(_WORD *)(a1 + 712) = 0;
*(_DWORD *)(a1 + 772) = 0;
__asm { FMOV V0.2S, #1.0 }
*(double *)(a1 + 544) = result;
return result;
}