// // sub_F7B79C from 0xf7b79c to 0xf7b7ec (80 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:13:47 +0000 // unsigned __int8 *__fastcall sub_F7B79C(unsigned __int8 *result, unsigned __int64 a2) { unsigned __int64 v2; // x8 unsigned __int64 v3; // x9 v2 = *result; if ( (v2 & 1) != 0 ) v3 = *((_QWORD *)result + 1); else v3 = v2 >> 1; if ( v3 < a2 ) return (unsigned __int8 *)std::string::append((__int64)result, a2 - v3, 0); if ( (v2 & 1) != 0 ) { *(_BYTE *)(*((_QWORD *)result + 2) + a2) = 0; *((_QWORD *)result + 1) = a2; } else { result[a2 + 1] = 0; *result = 2 * a2; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source