// // sub_10052C10C from 0x10052c10c to 0x10052c230 (292 bytes) // // 2 xrefs: // > sub_10052B0A8 @ 0x10052b980 // > sub_10053A8A4 @ 0x10053ae78 // // 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_10052C10C(__int64 a1) { unsigned int v2; // w20 __int64 v3; // x8 __int64 v4; // x9 __int64 v5; // x8 _QWORD *v6; // x9 unsigned int *v7; // x10 int v8; // w0 __int64 v10; // x2 __int64 v11; // x4 v2 = *(_DWORD *)(a1 + 72); v3 = *(_QWORD *)(a1 + 128); if ( *(_QWORD *)(v3 + 1008) ) goto LABEL_5; v4 = *(_QWORD *)(a1 + 304); if ( !v4 || !*(_DWORD *)(v4 + 16) ) { v10 = 133; v11 = 1654; LABEL_17: sub_1005E0E48(20, 292, v10, "s3_pkt.c", v11); return 0; } *(_QWORD *)(v4 + 224) = *(_QWORD *)(v3 + 936); if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)(*(_QWORD *)(a1 + 8) + 200LL) + 16LL))(a1) ) { LABEL_5: if ( !(*(unsigned int (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(*(_QWORD *)(a1 + 8) + 200LL) + 32LL))( a1, ((v2 >> 9) & 0x10) + 17) ) return 0; v5 = *(_QWORD *)(*(_QWORD *)(a1 + 8) + 200LL); if ( (*(_BYTE *)(a1 + 73) & 0x10) != 0 ) v6 = (_QWORD *)(v5 + 80); else v6 = (_QWORD *)(v5 + 64); if ( (*(_BYTE *)(a1 + 73) & 0x10) != 0 ) v7 = (unsigned int *)(v5 + 88); else v7 = (unsigned int *)(v5 + 72); v8 = (*(__int64 (__fastcall **)(__int64, _QWORD, _QWORD, __int64))(v5 + 40))( a1, *v6, *v7, *(_QWORD *)(a1 + 128) + 788LL); if ( v8 ) { *(_DWORD *)(*(_QWORD *)(a1 + 128) + 916LL) = v8; return 1; } v10 = 68; v11 = 1682; goto LABEL_17; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source