// // sub_100427BA8 from 0x100427ba8 to 0x100427cb4 (268 bytes) // // 2 xrefs: // > sub_100427620 @ 0x100427784 // > sub_100427E9C @ 0x100427f0c // // 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_100427BA8(__int64 *a1, int a2) { __int64 v5; // x1 __int64 v6; // x0 __int64 v7; // x21 __int64 v8; // x10 __int64 v9; // x8 __int64 v10; // x9 __int64 v11; // x10 if ( *((_DWORD *)a1 + 2) > a2 ) return 28; if ( a2 ) { v5 = (unsigned int)(16 * a2); if ( (unsigned int)(v5 - 1) > 0x3FFFFFFE ) return 38; v6 = sub_1004B11FC(*((_QWORD *)off_1008524C8 + 54), v5, "../../src/fmod_memory.h", 243, 0, 0, 1); if ( !v6 ) return 38; v7 = v6; v8 = *((unsigned int *)a1 + 2); if ( (int)v8 > 0 ) { v9 = 0; v10 = *a1; v11 = 16 * v8; do { *(_OWORD *)(v6 + v9) = *(_OWORD *)(v10 + v9); v9 += 16; } while ( v11 != v9 ); } } else { v7 = 0; } if ( *((int *)a1 + 3) >= 1 ) { if ( *a1 ) sub_1004B1970(*((_QWORD *)off_1008524C8 + 54), *a1, "../../src/fmod_memory.h", 255, 1); } *a1 = v7; *((_DWORD *)a1 + 3) = a2; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source