// // sub_100528208 from 0x100528208 to 0x1005282e4 (220 bytes) // // 23 xrefs: // > @ 0x10082a738 // > @ 0x10082a820 // > @ 0x10082a908 // > @ 0x10082aa08 // > @ 0x10082aaf0 // > @ 0x10082abe0 // > @ 0x10082acc8 // > @ 0x10082adb0 // > @ 0x10082aec0 // > @ 0x10082afa8 // > @ 0x10082b090 // > @ 0x10082b1a0 // > @ 0x10082b288 // > @ 0x10082b370 // > @ 0x10082b478 // > @ 0x10082b560 // > @ 0x10082b648 // > @ 0x10082b730 // > @ 0x10082b818 // > @ 0x10082b900 // > @ 0x10082b9e8 // > @ 0x10082bad0 // > @ 0x10082bbb8 // // 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_100528208(_QWORD *a1, int a2, __int64 a3) { __int64 result; // x0 _QWORD *v5; // x9 result = 0; if ( a2 > 71 ) { switch ( a2 ) { case 'H': a1[60] = a3; return 1; case 'K': a1[86] |= 0x400uLL; a1[72] = a3; return 1; case 'L': a1[86] |= 0x400uLL; a1[73] = a3; return 1; case 'M': a1[86] |= 0x400uLL; a1[74] = a3; return 1; default: return result; } } else { if ( a2 > 62 ) { if ( a2 != 63 ) return result; a1[61] = a3; } else { v5 = (_QWORD *)a1[38]; if ( a2 > 6 ) { if ( a2 == 7 ) { v5[12] = a3; } else { if ( a2 != 53 ) return result; a1[52] = a3; } } else if ( a2 == 5 ) { v5[8] = a3; } else { if ( a2 != 6 ) return result; v5[10] = a3; } } return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source