// // sub_CB1374 from 0xcb1374 to 0xcb13d4 (96 bytes) // // 2 xrefs: // > sub_CA1168 @ 0xca1364 // > WebPEncode @ 0xcb5b00 // // 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_CB1374(__int64 result) { __int64 v1; // x20 _QWORD *v2; // x0 _QWORD *v3; // x19 if ( result ) { v1 = result; v2 = *(_QWORD **)result; if ( v2 ) { do { v3 = (_QWORD *)*v2; WebPSafeFree(v2); v2 = v3; } while ( v3 ); } LODWORD(result) = *(_DWORD *)(v1 + 28); *(_QWORD *)(v1 + 16) = 0; *(_QWORD *)v1 = 0; if ( (int)result < 0x2000 ) result = 0x2000; else result = (unsigned int)result; *(_QWORD *)(v1 + 8) = v1; *(_DWORD *)(v1 + 24) = 0; *(_DWORD *)(v1 + 28) = result; *(_DWORD *)(v1 + 32) = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source