//
// CCScrollLayerExt::updateIndicators from 0x3c8274 to 0x3c8432 (446 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:35 +0000
//
int __fastcall CCScrollLayerExt::updateIndicators(CCScrollLayerExt *this, float a2)
{
const cocos2d::CCSize *v3; // r0
const cocos2d::CCSize *v4; // r0
int result; // r0
int v6; // r0
float v7; // s16
const cocos2d::CCPoint *v8; // r0
float v9; // s15
float *v10; // r0
float v11; // s16
const cocos2d::CCPoint *v12; // r0
float v13; // s15
float v14[2]; // [sp+4h] [bp-2Ch] BYREF
float v15; // [sp+Ch] [bp-24h] BYREF
float v16; // [sp+10h] [bp-20h]
float v17; // [sp+14h] [bp-1Ch] BYREF
float v18; // [sp+18h] [bp-18h]
float v19[2]; // [sp+1Ch] [bp-14h] BYREF
_BYTE v20[8]; // [sp+24h] [bp-Ch] BYREF
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 89) + 172))(
*((_DWORD *)this + 89),
*((unsigned __int8 *)this + 369));
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 88) + 172))(
*((_DWORD *)this + 88),
*((unsigned __int8 *)this + 370));
v3 = (const cocos2d::CCSize *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 91) + 164))(*((_DWORD *)this + 91));
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v14, v3);
v4 = (const cocos2d::CCSize *)(*(int (__fastcall **)(CCScrollLayerExt *))(*(_DWORD *)this + 164))(this);
result = cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v15, v4);
if ( *((_BYTE *)this + 370) )
{
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v17, 4.0, (float)(v16 * v16) / v14[1]);
(*(void (__fastcall **)(_DWORD, float *))(**((_DWORD **)this + 88) + 160))(*((_DWORD *)this + 88), &v17);
v6 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 91) + 96))(*((_DWORD *)this + 91));
v7 = (float)((float)(*(float *)(v6 + 4) - v16) * v18) / v16;
v8 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 88) + 96))(*((_DWORD *)this + 88));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, v8);
v9 = (float)(v16 - v7) - v18 * 0.5;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v20, v19[0], v9);
result = (*(int (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)this + 88) + 92))(*((_DWORD *)this + 88), v20);
}
if ( *((_BYTE *)this + 369) )
{
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v17, (float)(v15 * v15) / v14[0], 4.0);
(*(void (__fastcall **)(_DWORD, float *))(**((_DWORD **)this + 89) + 160))(*((_DWORD *)this + 89), &v17);
v10 = (float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 91) + 96))(*((_DWORD *)this + 91));
v11 = (float)((float)(*v10 - v15) * v17) / v15;
v12 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 89) + 96))(*((_DWORD *)this + 89));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, v12);
v13 = (float)-v11 + v15 * 0.5 - v17 * 0.5;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v20, v13, v19[1]);
return (*(int (__fastcall **)(_DWORD, _BYTE *))(**((_DWORD **)this + 89) + 92))(*((_DWORD *)this + 89), v20);
}
return result;
}