// // GJGameLevel::dtParseGlobalBlob from 0x4ddb58 to 0x4ddc46 (238 bytes) // // 2 xrefs: // > PlayLayer::setupHasCompleted @ 0x409fec // > LevelEditorLayer::rebuildDeathOverlay @ 0x46a33e // // 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:50:58 +0000 // bool __fastcall GJGameLevel::dtParseGlobalBlob(int a1, int a2, int *a3) { size_t v6; // r6 unsigned int i; // r2 int v8; // r3 int v9; // r1 char *v10; // r3 char *v11; // r3 int v12; // r0 int v13; // r2 int v14; // r3 int v15; // r4 _BOOL4 v16; // r4 int v18; // [sp+8h] [bp+0h] BYREF unsigned int v19; // [sp+Ch] [bp+4h] char *v20; // [sp+10h] [bp+8h] v6 = std::string::find((unsigned __int8 *)a2, 124, 0); if ( v6 == -1 ) std::string::basic_string(&v18, a2); else std::string::basic_string(&v18, (unsigned __int8 *)a2, 0, v6); for ( i = 0; ; ++i ) { v8 = (unsigned __int8)v18; v9 = v18 & 1; if ( v9 ) break; if ( i >= (unsigned __int8)v18 >> 1 ) goto LABEL_17; v10 = (char *)&v18 + 1; LABEL_10: if ( v10[i] == 59 ) { if ( v9 ) v11 = v20; else v11 = (char *)&v18 + 1; v11[i] = 44; } } if ( i < v19 ) { v10 = v20; goto LABEL_10; } v9 = 1; LABEL_17: v12 = *a3; while ( 1 ) { v13 = a3[1]; if ( v12 == v13 ) break; a3[1] = v13 - 4; } if ( v9 ) v14 = v19; else v14 = v8 >> 1; if ( v14 ) GJGameLevel::scoreStringToVector(a1, (unsigned __int8 *)&v18, a3); if ( v6 == -1 ) { v16 = 1; } else { if ( (*(_BYTE *)a2 & 1) != 0 ) v15 = *(_DWORD *)(a2 + 8); else v15 = a2 + 1; v16 = atoi((const char *)(v6 + 1 + v15)) > 0; } std::string::~string((int)&v18); return v16; }
GD Web Decomp Icon

GD Web Decomp

Raw Source