// // DeathTrackerPopup::parseGlobal from 0x7718fc to 0x771a46 (330 bytes) // // 1 xrefs: // > DeathTrackerPopup::init @ 0x775a5e // // 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:59:16 +0000 // GameLevelManager *__fastcall DeathTrackerPopup::parseGlobal(void **this) { GameLevelManager *result; // r0 int v3; // r3 int v4; // r0 int v5; // r4 int v6; // r9 size_t v7; // r2 _BYTE *v8; // r10 _BYTE *v9; // r0 unsigned int v10; // r2 unsigned int v11; // r4 _BYTE *v12; // r1 int i; // r3 char *v14; // r2 void *v15; // r3 void *v16; // r2 unsigned __int8 v17; // [sp+0h] [bp-28h] BYREF _BYTE v18[3]; // [sp+1h] [bp-27h] BYREF size_t v19; // [sp+4h] [bp-24h] void *v20; // [sp+8h] [bp-20h] char *v21; // [sp+Ch] [bp-1Ch] BYREF int v22; // [sp+10h] [bp-18h] int v23; // [sp+14h] [bp-14h] int v24[3]; // [sp+18h] [bp-10h] BYREF v21 = nullptr; result = (GameLevelManager *)std::vector::assign(this + 169, 0x65u, (int *)&v21); v3 = (int)*(this + 132); *(this + 172) = nullptr; *(this + 173) = nullptr; *((_BYTE *)this + 696) = 0; if ( v3 ) { v4 = GameLevelManager::sharedState(result); GameLevelManager::getDeathDisplayData( (GameLevelManager *)&v17, v4, *((_DWORD *)*(this + 132) + 67) - *((_DWORD *)*(this + 132) + 68)); v5 = v17; v6 = v17 & 1; if ( v6 ) { v7 = v19; if ( v19 ) { v8 = v20; LABEL_7: v9 = memchr(v8, 124, v7); if ( v9 && v9 - v8 != -1 ) { v10 = v9 - v8 + 1; v21 = nullptr; v22 = 0; v23 = 0; memset(v24, 0, sizeof(v24)); if ( v6 ) { v11 = v19; if ( v10 > v19 ) LABEL_13: sub_38AD50(); v12 = v20; } else { v11 = v5 >> 1; if ( v10 > v11 ) goto LABEL_13; v12 = v18; } std::string::__init(v24, &v12[v10], v11 - v10); GJGameLevel::dtExpandOrder((unsigned __int8 *)v24, (int)&v21); std::string::~string((int)v24); if ( (unsigned int)(v22 - (_DWORD)v21) >= 0x19C ) { for ( i = 0; i != 404; i += 4 ) *(_DWORD *)((char *)*(this + 169) + i) = *(_DWORD *)&v21[i]; v14 = v21; v15 = *(void **)((char *)&stru_18C.st_size + (_DWORD)v21); *(this + 172) = v15; v16 = *(void **)(&stru_18C.st_info + (_DWORD)v14); *((_BYTE *)this + 696) = (int)v15 > 0; *(this + 173) = v16; } std::__vector_base::~__vector_base(&v21); } } } else { v7 = (int)v17 >> 1; if ( v7 ) { v8 = v18; goto LABEL_7; } } return (GameLevelManager *)std::string::~string((int)&v17); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source