//
// sub_775738 from 0x775738 to 0x775778 (64 bytes)
//
// 2 xrefs:
// > GameLevelManager::onGetOnlineLevelsCompleted @ 0x3c6710
// > GameLevelManager::onGetMapPacksCompleted @ 0x3ca030
//
// 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
//
_DWORD *__fastcall sub_775738(_DWORD *a1, int *a2)
{
int v3; // r3
int v5; // r1
v3 = *a2;
v5 = *(_DWORD *)(*a2 - 4);
if ( v5 >= 0 && (int *)(v3 - 12) != &dword_ACDD9C )
{
if ( v5 )
{
sub_77500C(a2, 0, nullptr, nullptr);
v3 = *a2;
}
*(_DWORD *)(v3 - 4) = -1;
}
*a1 = v3 + *(_DWORD *)(v3 - 12);
return a1;
}