//
// sub_9CE28 from 0x9ce28 to 0x9ceaa (130 bytes)
//
// 1 xrefs:
// > sub_9BBB0 @ 0x9bbb2
//
// 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:41:31 +0000
//
int __fastcall sub_9CE28(_DWORD *a1)
{
float *v2; // r5
int i; // r6
int v4; // r5
int v5; // r0
int result; // r0
v2 = (float *)(a1 + 94);
for ( i = 0; i != 0x2000; ++i )
*v2++ = cosf((float)i * 0.00019175);
v4 = 0;
a1[12386] = 0;
a1[12384] = 4;
a1[12382] = 1065353216;
while ( 1 )
{
v5 = a1[41];
if ( v4 >= *(_DWORD *)(v5 + 72) )
break;
result = sub_AB218(a1, v4, *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(v5 + 76) + 4 * v4) + 48));
++v4;
if ( result )
return result;
}
return 0;
}