// // sub_100613824 from 0x100613824 to 0x1006138fc (216 bytes) // // 1 xrefs: // > sub_1006135D8 @ 0x100613630 // // 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_100613824(_QWORD *a1, __int64 a2) { int v4; // w8 _BYTE *v6; // x0 v4 = sub_10058AE10(*(_QWORD *)(a2 + 24)) - 21; switch ( v4 ) { case 0: v6 = *(_BYTE **)(a2 + 32); break; case 1: v6 = *(_BYTE **)(*(_QWORD *)(*(_QWORD *)(a2 + 32) + 40LL) + 32LL); break; case 2: v6 = *(_BYTE **)(*(_QWORD *)(*(_QWORD *)(a2 + 32) + 16LL) + 16LL); if ( v6 ) goto LABEL_11; v6 = sub_1005FBAFC(4); *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(a2 + 32) + 16LL) + 16LL) = v6; break; case 3: v6 = *(_BYTE **)(*(_QWORD *)(*(_QWORD *)(a2 + 32) + 40LL) + 16LL); if ( v6 ) goto LABEL_11; v6 = sub_1005FBAFC(4); *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(a2 + 32) + 40LL) + 16LL) = v6; break; default: return 0; } if ( !v6 ) return 0; LABEL_11: *((_QWORD *)v6 + 2) |= 0x10uLL; *a1 = v6 + 8; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source