// // ReadArchive::process from 0xc0f0e8 to 0xc0f254 (364 bytes) // // 6 xrefs: // > ReadArchive::process @ 0xc2d368 // > ReadArchive::process @ 0xc2d380 // > ReadArchive::process @ 0xc2d3b0 // > ReadArchive::process @ 0xc2d3bc // > processFMODAudioState @ 0xc30cdc // > @ 0xf4b10 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:03:56 +0000 // __int64 __fastcall ReadArchive::process(ReadArchive *this, unsigned __int64 *a2) { __int64 v3; // x3 signed int v4; // w2 __int64 v5; // x1 const char *v6; // x24 size_t v7; // x0 size_t v8; // x20 unsigned __int64 v9; // x0 char *v10; // x3 unsigned __int64 v11; // x0 char v12; // w1 __int64 v14; // [xsp+40h] [xbp+40h] BYREF size_t v15; // [xsp+48h] [xbp+48h] void *v16; // [xsp+50h] [xbp+50h] v3 = *(_QWORD *)this; v4 = *((_DWORD *)this + 6); if ( v4 >= (int)(-1431655765 * ((__int64)(*((_QWORD *)this + 1) - *(_QWORD *)this) >> 3)) ) return _stack_chk_guard; *((_DWORD *)this + 6) = v4 + 1; v5 = v3 + 24LL * v4; v6 = (const char *)(v5 + 1); if ( (*(_BYTE *)v5 & 1) != 0 ) v6 = *(const char **)(v5 + 16); v14 = 0; v15 = 0; v16 = nullptr; v7 = strlen(v6); v8 = v7; if ( v7 > 0xFFFFFFFFFFFFFFEFLL ) sub_62FDFC(); if ( v7 > 0x16 ) { v9 = (v7 + 16) & 0xFFFFFFFFFFFFFFF0LL; v14 = v9 | 1; v10 = (char *)operator new(v9); v16 = v10; v15 = v8; LABEL_7: v10 = (char *)memcpy(v10, v6, v8); goto LABEL_8; } LOBYTE(v14) = 2 * v7; v10 = (char *)&v14 + 1; if ( v7 ) goto LABEL_7; LABEL_8: v10[v8] = 0; v11 = std::stoull(&v14, 0, 10); v12 = v14; *a2 = v11; if ( (v12 & 1) != 0 ) operator delete(v16); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source