//
// GJBaseGameLayer::shakeCamera from 0x140345bc0 to 0x140345c56 (150 bytes)
//
// 3 xrefs:
// > PlayLayer::destroyPlayer @ 0x140512654
// > EffectGameObject::triggerObject @ 0x140648427
// > ??> @ 0x14091fed4
//
// 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:41 +0000
//
void __fastcall GJBaseGameLayer::shakeCamera(__int64 a1, float a2, float a3, float a4)
{
if ( a2 > 0.0 && a3 > 0.0 && !*(_BYTE *)(a1 + 13129) )
{
*(_QWORD *)(a1 + 1328) = 0;
cocos2d::CCPoint::operator=(a1 + 1336, &dword_14090AA70);
*(float *)(a1 + 1312) = a2;
*(float *)(a1 + 1320) = a4;
*(_BYTE *)(a1 + 13128) = 0;
*(float *)(a1 + 1316) = fminf(a3, 100.0);
}
}