//
// PlayLayer::updateEffectPositions from 0x6f61e0 to 0x6f62c8 (232 bytes)
//
// 2 xrefs:
// > PlayLayer::postUpdate @ 0x708eb4
// > ??> @ 0xf1f00
//
// 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:51:50 +0000
//
__int64 __fastcall PlayLayer::updateEffectPositions(PlayLayer *this)
{
unsigned int v2; // w19
cocos2d::CCDirector *v3; // x0
__int64 v4; // x23
void (__fastcall *v5)(__int64, _BYTE *); // x22
unsigned int v6; // w1
_QWORD *v7; // x0
__int64 v9; // [xsp+58h] [xbp+58h] BYREF
_BYTE v10[8]; // [xsp+60h] [xbp+60h] BYREF
v2 = 0;
v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
cocos2d::CCDirector::getWinSize(&v9, v3);
v4 = *((_QWORD *)this + 1580);
v5 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v4 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v10,
(float)((float)(*(float *)&v9 * 0.5) / *((float *)this + 106)) + *((float *)this + 248),
(float)((float)(*((float *)&v9 + 1) * 0.5) / *((float *)this + 106)) + *((float *)this + 249));
v5(v4, v10);
while ( v2 < (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 1787)) )
{
v6 = v2++;
v7 = (_QWORD *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 1787), v6);
CCCircleWave::updatePosition(v7, 0.0);
}
return _stack_chk_guard;
}