// // sub_18001C810 from 0x18001c810 to 0x18001c89d (141 bytes) // // 2 xrefs: // > @ 0x1800e6b98 // > @ 0x1801aeb18 // // 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_18001C810(__int64 a1, unsigned int a2) { unsigned __int64 v4; // rsi v4 = std::streambuf::gptr(a1); if ( !v4 || v4 <= std::streambuf::eback(a1) || a2 != -1 && (_BYTE)a2 != *(_BYTE *)(v4 - 1) && (*(_BYTE *)(a1 + 112) & 2) != 0 ) { return 0xFFFFFFFFLL; } std::streambuf::gbump(a1, 0xFFFFFFFFLL); if ( a2 == -1 ) return 0; else *(_BYTE *)std::streambuf::gptr(a1) = a2; return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source