//
// GJBaseGameLayer::resetCamera from 0x5b92d8 to 0x5b946a (402 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::resetLevelVariables @ 0x5b98c4
//
// 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:40 +0000
//
int __fastcall GJBaseGameLayer::resetCamera(GJBaseGameLayer *this)
{
int v2; // r3
int result; // r0
cocos2d::CCPoint::operator=((char *)this + 480, flt_D2C400);
cocos2d::CCPoint::operator=((char *)this + 472, flt_D2C400);
cocos2d::CCPoint::operator=((char *)this + 488, flt_D2C400);
cocos2d::CCPoint::operator=((char *)this + 504, flt_D2C400);
cocos2d::CCPoint::operator=((char *)this + 496, flt_D2C400);
cocos2d::CCPoint::operator=((char *)this + 512, flt_D2C400);
cocos2d::CCPoint::operator=((char *)this + 520, flt_D2C400);
cocos2d::CCPoint::operator=((char *)this + 416, flt_D2C400);
cocos2d::CCPoint::operator=((char *)this + 376, flt_D2C400);
cocos2d::CCPoint::operator=((char *)this + 432, flt_D2C400);
cocos2d::CCPoint::operator=((char *)this + 440, flt_D2C400);
*((_DWORD *)this + 155) = 1056964608;
*((_DWORD *)this + 156) = 1092616192;
*((_BYTE *)this + 1280) = 0;
*((_BYTE *)this + 1281) = 0;
*((_DWORD *)this + 246) = 0;
*((_BYTE *)this + 689) = 0;
GJBaseGameLayer::updateZoom(this, 0.0, 0.0, 0, 0.0, -1, -1);
GJBaseGameLayer::updateCameraOffsetX(this, 0.0, 0.0, 0, 0.0, -1, -1);
GJBaseGameLayer::updateCameraOffsetY(this, 0.0, 0.0, 0, 0.0, -1, -1);
GJBaseGameLayer::restoreDefaultGameplayOffsetX(this);
GJBaseGameLayer::restoreDefaultGameplayOffsetY(this);
GJBaseGameLayer::updateInternalCamOffsetY(this, 0.0, 0.0, 0.0);
GJBaseGameLayer::updateInternalCamOffsetX(this, 0.0, 0.0, 0.0);
v2 = *(_DWORD *)this;
*((_DWORD *)this + 223) = 0;
*((_DWORD *)this + 224) = 0;
*((_DWORD *)this + 225) = 0;
*((_DWORD *)this + 226) = 0;
(*(void (__fastcall **)(GJBaseGameLayer *, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, int, int))(v2 + 716))(
this,
0,
0,
0,
0,
0,
0,
-1,
-1);
*((_DWORD *)this + 2701) = 0;
*((_DWORD *)this + 2702) = 0;
*((_DWORD *)this + 2712) = 0;
*((_DWORD *)this + 2713) = 0;
*((_BYTE *)this + 10856) = 1;
cocos2d::CCPoint::operator=((char *)this + 952, flt_D2C400);
GJBaseGameLayer::resetStaticCamera((unsigned int)this, 1, 1);
result = GJBaseGameLayer::stopCameraShake((int)this);
*((_BYTE *)this + 616) = 0;
*((_BYTE *)this + 617) = 0;
*((_DWORD *)this + 169) = 0;
*((_DWORD *)this + 112) = 1065353216;
*((_DWORD *)this + 113) = 1065353216;
return result;
}