// // WebPSafeCalloc from 0x7370d8 to 0x737120 (72 bytes) // // 14 xrefs: // > sub_6F6C04 @ 0x6f6c0a // > sub_6F6C2C @ 0x6f6c74 // > WebPINewDecoder @ 0x6f8b86 // > sub_6FB9FC @ 0x6fba06 // > sub_6FDAB0 @ 0x6fdb48 // > sub_6FE624 @ 0x6fe62e // > sub_6FE768 @ 0x6fe77e // > sub_724DC4 @ 0x724e2e // > sub_730DE4 @ 0x730e66 // > sub_7319C0 @ 0x7319f0 // > sub_7319C0 @ 0x731d2c // > sub_7319C0 @ 0x732264 // > sub_734688 @ 0x73469a // > sub_736F88 @ 0x736fce // // 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 // void *__fastcall WebPSafeCalloc(unsigned __int64 item_count, size_t item_size) { bool v3; // zf if ( !item_count ) return j_calloc(item_count, item_size); if ( 0x10000000000LL / item_count < item_size ) return nullptr; v3 = (item_count * item_size) >> 32 == 0; if ( is_mul_ok(item_count, item_size) ) v3 = 1; if ( v3 ) return j_calloc(item_count, item_size); else return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source