// // sub_734334 from 0x734334 to 0x7343c8 (148 bytes) // // 2 xrefs: // > sub_71CC10 @ 0x71cc9c // > sub_732784 @ 0x7327b6 // // 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 // int __fastcall sub_734334(int a1, int a2) { int v4; // r2 unsigned int v6; // r4 int v7; // r7 memset((void *)a1, 0, 0x18u); v4 = a2; v6 = (a2 & 0xFFFFFC00) + 1024; v7 = WebPSafeMalloc(1, 0, (v4 & 0xFFFFFC00) + 1024); if ( v7 ) { WebPSafeFree(*(void **)(a1 + 8)); *(_DWORD *)(a1 + 12) = v7; *(_DWORD *)(a1 + 16) = v7 + v6; *(_DWORD *)(a1 + 8) = v7; return 1; } else { *(_DWORD *)(a1 + 20) = 1; return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source