//
// GJBaseGameLayer::lightningFlash_1 from 0x1002a5098 to 0x1002a5184 (236 bytes)
//
// 1 xrefs:
// > PlayerObject::togglePlayerScale @ 0x1002c4134
//
// 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:14 +0000
//
void __fastcall GJBaseGameLayer::lightningFlash_1(__int64 a1, double *a2, int a3)
{
__int64 v6; // x0
float v7; // s8
float v8; // s9
float v9; // s10
float v10; // s0
float32x2_t v11; // [xsp+0h] [xbp-60h] BYREF
float32x2_t v12; // [xsp+8h] [xbp-58h] BYREF
double v13; // [xsp+10h] [xbp-50h] BYREF
__int64 v14; // [xsp+18h] [xbp-48h] BYREF
v6 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v6, &v14);
v7 = sub_10039AFAC(*(float *)a2 + -50.0, *(float *)a2 + 100.0);
v8 = *(float *)(a1 + 996);
v9 = *((float *)&v14 + 1) + 50.0;
v10 = (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 3920) + 168LL))(*(_QWORD *)(a1 + 3920));
sub_1000262BC((float *)&v13, v7, v8 + (float)(v9 / v10));
sub_1000262F4(&v12, &v13);
sub_1000262F4(&v11, a2);
GJBaseGameLayer::lightningFlash(a1, &v12, &v11, a3 & 0xFFFFFF, 0, 1, 5.0, 0.5, 1.0);
}