//
// sub_76E950 from 0x76e950 to 0x76e97c (44 bytes)
//
// 0 xrefs:
//
// 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_76E950(int result)
{
int v1; // r4
int v2; // r5
int v3; // r3
int v4; // r2
int v5; // r3
if ( *(_BYTE *)(result + 80) )
{
v1 = *(_DWORD *)(result + 60);
v2 = *(_DWORD *)(result + 8);
v3 = *(_DWORD *)(result + 4);
v4 = *(_DWORD *)(result + 72);
*(_DWORD *)(result + 12) = *(_DWORD *)(result + 76);
if ( v2 == v3 )
v5 = v4;
else
v5 = v4 + 1;
*(_DWORD *)(result + 4) = v1;
*(_DWORD *)(result + 72) = v5;
*(_DWORD *)(result + 8) = v5;
*(_BYTE *)(result + 80) = 0;
}
return result;
}