// // sub_100636A90 from 0x100636a90 to 0x100636b84 (244 bytes) // // 2 xrefs: // > sub_100635FD8 @ 0x100636108 // > sub_10063695C @ 0x1006369cc // // 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 11:10:31 +0000 // __int64 __fastcall sub_100636A90(__int64 a1, int a2) { int v5; // w1 void *v6; // x0 void *v7; // x21 __int64 v8; // x8 if ( *(_DWORD *)(a1 + 8) > a2 ) return 28; if ( a2 ) { v5 = 16 * a2; if ( (unsigned int)(v5 - 1) > 0x3FFFFFFE ) return 38; v6 = sub_1005D7364(*((__int64 **)off_1009DA5E8 + 54), v5, (char)"../../src/fmod_memory.h", 243, 0, 0); if ( !v6 ) return 38; v7 = v6; v8 = *(int *)(a1 + 8); if ( (_DWORD)v8 ) memcpy(v6, *(const void **)a1, 16 * v8); } else { v7 = nullptr; } if ( *(int *)(a1 + 12) >= 1 ) { if ( *(_QWORD *)a1 ) sub_1005D7AD8(*((_QWORD *)off_1009DA5E8 + 54), *(int **)a1); } *(_QWORD *)a1 = v7; *(_DWORD *)(a1 + 12) = a2; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source