//
// updateSprites from 0xb63f94 to 0xb64070 (220 bytes)
//
// 3 xrefs:
// > StartPosLayer::onSelectMode @ 0xb640b4
// > StartPosLayer::onSelectSpeed @ 0xb64108
// > ??> @ 0xc64c0
//
// 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 13:02:13 +0000
//
__int64 __fastcall updateSprites(cocos2d::CCArray *this, int a2)
{
unsigned int v4; // w19
__int64 v5; // x2
void (*v6)(void); // x2
_BYTE v8[3]; // [xsp+50h] [xbp+50h] BYREF
v4 = 0;
while ( v4 < (unsigned int)cocos2d::CCArray::count(this) )
{
v5 = *(_QWORD *)cocos2d::CCArray::objectAtIndex(this, v4);
if ( a2 == v4 )
{
++v4;
(*(void (**)(void))(v5 + 960))();
}
else
{
v6 = *(void (**)(void))(v5 + 960);
memset(v8, 125, sizeof(v8));
++v4;
v6();
}
}
return _stack_chk_guard;
}