// // GameObject::loadGroupsFromString from 0x356950 to 0x356a12 (194 bytes) // // 1 xrefs: // > GameObject::objectFromVector @ 0x362850 // // 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 GameObject::loadGroupsFromString(int result, char *a2, char *a3) { GameObject *v3; // r5 int v5; // r8 int i; // r4 int v7; // r4 int v8; // r8 int v9; // r0 unsigned __int8 *v10; // r3 int v11; // r1 int v12; // t1 int v13; // r1 int m_groupCount; // r11 std::array *m_groups; // r10 char *v16[3]; // [sp+0h] [bp-Ch] BYREF v16[0] = (char *)result; v16[1] = a2; v16[2] = a3; v3 = (GameObject *)result; if ( *(_DWORD *)(*(_DWORD *)a2 - 12) ) { if ( !*(_DWORD *)(result + 1008) ) { v7 = *(unsigned __int8 *)(result + 549); if ( *(_BYTE *)(result + 549) ) { v13 = 10; } else { v8 = sub_7756C4(a2); v9 = sub_7756FC(a2); v10 = (unsigned __int8 *)v8; v11 = v7; while ( v10 != (unsigned __int8 *)v9 ) { v12 = *v10++; if ( v12 == 46 ) ++v11; } v13 = v11 + 1; } GameObject::createGroupContainer(v3, v13); } v5 = 0; for ( i = sub_774910(a2, 46, 0); ; i = sub_774910(a2, 46, i + 1) ) { m_groupCount = v3->m_groupCount; m_groups = v3->m_groups; sub_776158(v16, a2, v5, i - v5); m_groups->__elems_[m_groupCount] = atoi(v16[0]); result = sub_774008(v16); ++v3->m_groupCount; if ( i == -1 ) break; v5 = i + 1; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source