//
// sub_C292E from 0xc292e to 0xc296c (62 bytes)
//
// 2 xrefs:
// > sub_C2720 @ 0xc28ea
// > sub_C2928 @ 0xc292a
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall sub_C292E(int a1)
{
if ( (***(int (__fastcall ****)(_DWORD, int, _DWORD))(a1 + 1240))(
*(_DWORD *)(a1 + 1240),
*(_DWORD *)(a1 + 1244) + *(_DWORD *)(a1 + 1260),
*(_DWORD *)(a1 + 1252)) )
{
return 28;
}
*(_DWORD *)(a1 + 1244) = (unsigned int)(*(_DWORD *)(a1 + 1244) + *(_DWORD *)(a1 + 1252)) % *(_DWORD *)(a1 + 1256);
return 0;
}