//
// sub_1005CF7D4 from 0x1005cf7d4 to 0x1005cf7f8 (36 bytes)
//
// 10 xrefs:
// > sub_1005656EC @ 0x100565740
// > sub_100565794 @ 0x100565914
// > sub_100565794 @ 0x100565970
// > sub_100565794 @ 0x100565a38
// > sub_100565794 @ 0x100565ac4
// > sub_100565B84 @ 0x100565cf4
// > sub_100565B84 @ 0x100565de8
// > sub_1005AEF6C @ 0x1005af2e4
// > sub_1005D0F98 @ 0x1005d0fa0
// > sub_1005D1028 @ 0x1005d1030
//
// 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:09:30 +0000
//
__int64 __fastcall sub_1005CF7D4(__int64 result)
{
*(_QWORD *)(result + 16) = result + 8;
*(_QWORD *)(result + 24) = 0;
*(_QWORD *)result = off_1009AB840;
*(_QWORD *)(result + 8) = result + 8;
*(_DWORD *)(result + 404) = 3;
return result;
}