//
// GJBaseGameLayer::resetCamera from 0x9e6f18 to 0x9e7128 (528 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::resetLevelVariables @ 0x9e78b0
// > ??> @ 0x648d0
//
// 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 12:59:00 +0000
//
float __fastcall GJBaseGameLayer::resetCamera(GJBaseGameLayer *this)
{
__int64 v2; // x2
cocos2d::CCPoint::operator=((char *)this + 576, &unk_155D2C8);
cocos2d::CCPoint::operator=((char *)this + 568, &unk_155D2C8);
cocos2d::CCPoint::operator=((char *)this + 584, &unk_155D2C8);
cocos2d::CCPoint::operator=((char *)this + 600, &unk_155D2C8);
cocos2d::CCPoint::operator=((char *)this + 592, &unk_155D2C8);
cocos2d::CCPoint::operator=((char *)this + 608, &unk_155D2C8);
cocos2d::CCPoint::operator=((char *)this + 616, &unk_155D2C8);
cocos2d::CCPoint::operator=((char *)this + 512, &unk_155D2C8);
cocos2d::CCPoint::operator=((char *)this + 472, &unk_155D2C8);
cocos2d::CCPoint::operator=((char *)this + 528, &unk_155D2C8);
cocos2d::CCPoint::operator=((char *)this + 536, &unk_155D2C8);
*((_BYTE *)this + 1720) = 0;
*((_BYTE *)this + 1721) = 0;
*((float *)this + 179) = 0.5;
*((_BYTE *)this + 785) = 0;
*((_DWORD *)this + 298) = 0;
*((float *)this + 180) = 10.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);
*((_DWORD *)this + 264) = 0;
v2 = *(_QWORD *)this;
*((_DWORD *)this + 265) = 0;
*((_DWORD *)this + 266) = 0;
*((_DWORD *)this + 267) = 0;
(*(void (__fastcall **)(GJBaseGameLayer *, _QWORD, _QWORD, _QWORD, __int64, __int64, float, float, float))(v2 + 1432))(
this,
0,
0,
0,
0xFFFFFFFFLL,
0xFFFFFFFFLL,
0.0,
0.0,
0.0);
*((_DWORD *)this + 3142) = 0;
*((_DWORD *)this + 3143) = 0;
*((_DWORD *)this + 3157) = 0;
*((_DWORD *)this + 3158) = 0;
*((_BYTE *)this + 12636) = 1;
cocos2d::CCPoint::operator=((char *)this + 1148, &unk_155D2C8);
GJBaseGameLayer::resetStaticCamera(this, 1, 1u);
GJBaseGameLayer::stopCameraShake(this);
*((_BYTE *)this + 712) = 0;
*((_BYTE *)this + 713) = 0;
*((_DWORD *)this + 193) = 0;
*((float *)this + 136) = 1.0;
*((float *)this + 137) = 1.0;
return 1.0;
}