//
// sub_1800A14D0 from 0x1800a14d0 to 0x1800a1523 (83 bytes)
//
// 2 xrefs:
// > cocos2d::CCScheduler::scheduleSelector @ 0x1800c59bc
// > ??> @ 0x1801c16bc
//
// 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 11:22:13 +0000
//
void __fastcall sub_1800A14D0(__int64 a1, int a2)
{
unsigned int i; // r8d
void *v5; // rcx
for ( i = *(_DWORD *)(a1 + 4); i < a2 + *(_DWORD *)a1; i = *(_DWORD *)(a1 + 4) )
{
v5 = *(void **)(a1 + 16);
*(_DWORD *)(a1 + 4) = 2 * i;
*(_QWORD *)(a1 + 16) = realloc(v5, 16LL * i);
}
}