// // construct_ptd_array from 0x180135024 to 0x1801350f1 (205 bytes) // // 4 xrefs: // > __acrt_getptd @ 0x180135354 // > __acrt_getptd_head @ 0x180135413 // > __acrt_getptd_noexit @ 0x1801354d0 // > @ 0x180203320 // // 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 // void __fastcall construct_ptd_array(struct __acrt_ptd *const a1) { int v1; // [rsp+20h] [rbp-30h] BYREF int v2; // [rsp+24h] [rbp-2Ch] BYREF struct __acrt_ptd *v3; // [rsp+28h] [rbp-28h] BYREF __int64 *v4; // [rsp+30h] [rbp-20h] BYREF struct __acrt_ptd **v5; // [rsp+38h] [rbp-18h] BYREF _QWORD v6[2]; // [rsp+40h] [rbp-10h] BYREF char v7; // [rsp+68h] [rbp+18h] BYREF int v8; // [rsp+70h] [rbp+20h] BYREF int v9; // [rsp+78h] [rbp+28h] BYREF v3 = a1; v5 = &v3; v8 = 5; v9 = 5; v6[0] = &v3; v6[1] = &v4; v1 = 4; v2 = 4; v4 = &qword_1801F5158; *((_DWORD *)a1 + 10) = 1; *(_QWORD *)v3 = &unk_180172F70; *((_DWORD *)v3 + 234) = 1; *((_QWORD *)v3 + 17) = &unk_1801B1A50; *((_WORD *)v3 + 94) = 67; *((_WORD *)v3 + 225) = 67; *((_QWORD *)v3 + 116) = 0; __crt_seh_guarded_call::operator()<_lambda_72d1df2b273a38828b1ce30cbf4cdab5_,_lambda_876a65b173b8412d3a47c70a915b0cf4_ &,_lambda_41932305e351933ebe8f8be3ed8bb5dc_>( (__int64)&v7, &v9, (__int64)&v5, &v8); __crt_seh_guarded_call::operator()<_lambda_5e887d1dcbef67a5eb4283622ba103bf_,_lambda_4466841279450cc726390878d4a41900_ &,_lambda_341c25c0346d94847f1f3c463c57e077_>( (__int64)&v7, &v2, (__int64)v6, &v1); }