//
// sub_10007ACA0 from 0x10007aca0 to 0x10007ad7c (220 bytes)
//
// 1 xrefs:
// > sub_10007AD7C @ 0x10007adb0
//
// 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 10:58:15 +0000
//
__int64 __fastcall sub_10007ACA0(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x0
__int64 v4; // x0
__int64 result; // x0
unsigned int v6; // w23
__int64 v7; // x22
v2 = cocos2d::CCSpriteBatchNode::create("smallDot.png", 29);
v3 = (*(__int64 (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(
*(_QWORD *)(a1 + 584),
v2,
5);
v4 = sub_1002E736C(v3);
*(_QWORD *)(a1 + 704) = v4;
cocos2d::CCObject::retain(v4);
result = sub_1002E757C(*(_QWORD *)(a1 + 672));
if ( (_DWORD)result )
{
v6 = 0;
do
{
v7 = cocos2d::CCSprite::create("smallDot.png");
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v7 + 160LL))(v7, 0.8);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 456LL))(v2, v7);
sub_1002E74E0(*(_QWORD *)(a1 + 704), v7);
++v6;
result = sub_1002E757C(*(_QWORD *)(a1 + 672));
}
while ( v6 < (unsigned int)result );
}
return result;
}