// // GameObject::loadGroupsFromString from 0x45305c to 0x453166 (266 bytes) // // 1 xrefs: // > GameObject::objectFromVector @ 0x45c0ae // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:48:38 +0000 // int __fastcall GameObject::loadGroupsFromString(int this, unsigned __int8 *a2) { int v3; // r5 int v4; // r3 int v5; // r2 unsigned __int8 *v6; // r2 int v7; // r3 unsigned __int8 *v8; // r3 int v9; // r1 int v10; // t1 unsigned int v11; // r1 unsigned int v12; // r11 int i; // r9 int v14; // r3 size_t v15; // r2 int v16; // r10 int v17; // r3 unsigned int v18; // r3 unsigned __int8 *v19; // r1 size_t v20; // r3 unsigned __int8 *v21; // r1 const char *v22; // r0 int v23; // [sp+4h] [bp-18h] int v24[2]; // [sp+8h] [bp-14h] BYREF char *v25; // [sp+10h] [bp-Ch] v3 = this; v4 = *a2; if ( (v4 & 1) != 0 ) v5 = *((_DWORD *)a2 + 1); else v5 = v4 >> 1; if ( v5 ) { if ( !*(_DWORD *)(this + 1016) ) { if ( *(_BYTE *)(this + 549) ) { v11 = 10; } else { if ( (v4 & 1) != 0 ) { v6 = *((unsigned __int8 **)a2 + 2); v7 = *((_DWORD *)a2 + 1); } else { v6 = a2 + 1; v7 = v4 >> 1; } v8 = &v6[v7]; v9 = 0; while ( v6 != v8 ) { v10 = *v6++; if ( v10 == 46 ) ++v9; } v11 = v9 + 1; } GameObject::createGroupContainer(this, v11); } v12 = 0; for ( i = std::string::find(a2, 46, 0); ; i = std::string::find(a2, 46, i + 1) ) { v14 = *(_DWORD *)(v3 + 1016); v15 = i - v12; v16 = *(__int16 *)(v3 + 1020); v24[0] = 0; v23 = v14; v17 = *a2; v24[1] = 0; v25 = nullptr; if ( (v17 & 1) != 0 ) { v18 = *((_DWORD *)a2 + 1); if ( v12 > v18 ) goto LABEL_23; v19 = *((unsigned __int8 **)a2 + 2); } else { v18 = v17 >> 1; if ( v12 > v18 ) LABEL_23: sub_387B88(); v19 = a2 + 1; } v20 = v18 - v12; v21 = &v19[v12]; if ( v15 >= v20 ) v15 = v20; std::string::__init(v24, v21, v15); v22 = (v24[0] & 1) != 0 ? v25 : (char *)v24 + 1; *(_WORD *)(v23 + 2 * v16) = atoi(v22); this = std::string::~string((int)v24); ++*(_WORD *)(v3 + 1020); if ( i == -1 ) break; v12 = i + 1; } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source