//
// PlayLayer::updateEffectPositions from 0x100088670 to 0x100088739 (201 bytes)
//
// 1 xrefs:
// > PlayLayer::postUpdate @ 0x100088ba9
//
// 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 12:20:05 +0000
//
__int64 __fastcall PlayLayer::updateEffectPositions(__int64 a1, __int64 a2)
{
__int64 v2; // rax
__int64 v3; // r14
__int64 result; // rax
unsigned int v5; // r14d
__int64 v6; // rax
_BYTE v7[8]; // [rsp+8h] [rbp-28h] BYREF
float v8[8]; // [rsp+10h] [rbp-20h] BYREF
v2 = cocos2d::CCDirector::sharedDirector(a1, a2);
cocos2d::CCDirector::getWinSize(v8, v2);
v3 = *(_QWORD *)(a1 + 12640);
sub_100278250(
v7,
(float)((float)(v8[0] * 0.5) / *(float *)(a1 + 424)) + *(float *)(a1 + 992),
(float)((float)(0.5 * v8[1]) / *(float *)(a1 + 424)) + *(float *)(a1 + 996));
(*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v3 + 184LL))(v3, v7);
result = sub_1007FEF90(*(_QWORD *)(a1 + 14296));
if ( (_DWORD)result )
{
v5 = 0;
do
{
v6 = sub_1007FEFE0(*(_QWORD *)(a1 + 14296), v5);
CCCircleWave::updatePosition(v6, 0.0);
++v5;
result = sub_1007FEF90(*(_QWORD *)(a1 + 14296));
}
while ( v5 < (unsigned int)result );
}
return result;
}