// // sub_1005DB1B4 from 0x1005db1b4 to 0x1005db278 (196 bytes) // // 2 xrefs: // > sub_1005DB33C @ 0x1005db36c // > @ 0x100860fe0 // // 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 // __int64 __fastcall sub_1005DB1B4(__int64 a1, const void *a2, __int64 a3) { unsigned __int64 *v5; // x21 unsigned __int64 v6; // x22 int v7; // w23 __int64 v8; // x2 __int64 v9; // x4 if ( !a2 ) { v8 = 115; v9 = 181; LABEL_7: sub_1005E0E48(32, 117, v8, "bss_mem.c", v9); return 0xFFFFFFFFLL; } if ( (*(_BYTE *)(a1 + 33) & 2) != 0 ) { v8 = 126; v9 = 186; goto LABEL_7; } v5 = *(unsigned __int64 **)(a1 + 48); sub_1005DA600(a1, 15); v6 = *v5; v7 = *v5 + a3; if ( (unsigned int)sub_1005D9F48(v5, v7) != v7 ) return 0xFFFFFFFFLL; memcpy((void *)(v5[1] + (int)v6), a2, (int)a3); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source