// // sub_100536DAC from 0x100536dac to 0x100536f54 (424 bytes) // // 5 xrefs: // > @ 0x10085b778 // > @ 0x10085b800 // > @ 0x10085b888 // > @ 0x10085b988 // > @ 0x10085ba10 // // 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_100536DAC(__int64 a1, int a2, __int64 a3) { __int64 v6; // x8 _QWORD *v7; // x8 __int64 v8; // x0 __int64 v9; // x8 __int64 v11; // x0 __int64 v12; // x0 int v13; // w0 __int64 v14; // x0 __int64 v15; // x0 int v16; // w0 __int64 v17; // x0 __int64 v18; // x0 int v19; // w0 __int64 v20; // x0 __int64 v21; // x0 int v22; // w0 __int64 v23; // x0 __int64 v24; // x0 int v25; // w0 __int64 v26; // x20 _BYTE v27[52]; // [xsp+8h] [xbp-58h] BYREF unsigned int v28; // [xsp+3Ch] [xbp-24h] BYREF v6 = *(_QWORD *)(a1 + 128); if ( *(_QWORD *)(v6 + 440) ) { if ( !(unsigned int)sub_100529874(a1) ) return 0; v6 = *(_QWORD *)(a1 + 128); } v7 = *(_QWORD **)(v6 + 448); if ( *v7 ) { v8 = sub_1005EB2E8(*v7); if ( (unsigned int)sub_1005EB2A0(v8) == a2 ) { v9 = 0; goto LABEL_23; } v7 = *(_QWORD **)(*(_QWORD *)(a1 + 128) + 448LL); } v11 = v7[1]; if ( v11 ) { v12 = sub_1005EB2E8(v11); v13 = sub_1005EB2A0(v12); v9 = 1; if ( v13 == a2 ) goto LABEL_23; v7 = *(_QWORD **)(*(_QWORD *)(a1 + 128) + 448LL); } v14 = v7[2]; if ( v14 ) { v15 = sub_1005EB2E8(v14); v16 = sub_1005EB2A0(v15); v9 = 2; if ( v16 == a2 ) goto LABEL_23; v7 = *(_QWORD **)(*(_QWORD *)(a1 + 128) + 448LL); } v17 = v7[3]; if ( v17 ) { v18 = sub_1005EB2E8(v17); v19 = sub_1005EB2A0(v18); v9 = 3; if ( v19 == a2 ) goto LABEL_23; v7 = *(_QWORD **)(*(_QWORD *)(a1 + 128) + 448LL); } v20 = v7[4]; if ( v20 ) { v21 = sub_1005EB2E8(v20); v22 = sub_1005EB2A0(v21); v9 = 4; if ( v22 == a2 ) goto LABEL_23; v7 = *(_QWORD **)(*(_QWORD *)(a1 + 128) + 448LL); } v23 = v7[5]; if ( !v23 ) goto LABEL_28; v24 = sub_1005EB2E8(v23); v25 = sub_1005EB2A0(v24); v9 = 5; if ( v25 != a2 ) goto LABEL_28; LABEL_23: v26 = *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 128) + 448LL) + 8 * v9); if ( !v26 ) { LABEL_28: sub_1005E0E48(20, 286, 324, "t1_enc.c", 939); return 0; } sub_1005E2DF4(v27); if ( (int)sub_1005E326C(v27, v26) < 1 || (int)sub_1005E30F8(v27, a3, &v28) <= 0 ) v28 = 0; sub_1005E31A4(v27); return v28; }
GD Web Decomp Icon

GD Web Decomp

Raw Source