// // sub_180086120 from 0x180086120 to 0x18008618b (107 bytes) // // 9 xrefs: // > sub_180081AE0 @ 0x180081c8a // > sub_180081AE0 @ 0x180081dac // > sub_180081AE0 @ 0x180081dc7 // > sub_180081AE0 @ 0x180081e66 // > sub_180081AE0 @ 0x180081e8f // > sub_180081AE0 @ 0x180081f83 // > sub_180081AE0 @ 0x180081fed // > sub_180081AE0 @ 0x18008204c // > @ 0x1801b5658 // // 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_180086120(__int64 a1, char a2, char a3) { __int64 v5; // rcx __int64 result; // rax v5 = *(_QWORD *)(a1 + 10248); if ( (unsigned __int64)(v5 + 2) > 0x800 ) { sub_180080D10(a1, a1, v5); v5 = 0; *(_QWORD *)(a1 + 10248) = 0; } *(_BYTE *)(v5 + a1) = a2; result = *(_QWORD *)(a1 + 10248); *(_BYTE *)(result + a1 + 1) = a3; *(_QWORD *)(a1 + 10248) += 2LL; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source