//
// GJBaseGameLayer::loadGroupParentsFromString from 0x472fb8 to 0x473030 (120 bytes)
//
// 1 xrefs:
// > GameObject::objectFromVector @ 0x3628f4
//
// 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
//
void __fastcall GJBaseGameLayer::loadGroupParentsFromString(char *a1, char *a2, _DWORD *a3)
{
int v6; // r7
int i; // r4
int v8; // r7
char *v9[2]; // [sp+0h] [bp-8h] BYREF
v9[0] = a1;
v9[1] = a2;
if ( *(_DWORD *)(*a3 - 12) )
{
v6 = 0;
for ( i = sub_774910(a3, 46, 0); ; i = sub_774910(a3, 46, i + 1) )
{
sub_776158(v9, a3, v6, i - v6);
v8 = atoi(v9[0]);
sub_774008(v9);
GJBaseGameLayer::setGroupParent((GJBaseGameLayer *)a1, (GameObject *)a2, v8);
if ( i == -1 )
break;
v6 = i + 1;
}
}
}