// // sub_5DB60 from 0x5db60 to 0x5dca0 (320 bytes) // // 2 xrefs: // > sub_5E794 @ 0x5e8ec // > sub_6F850 @ 0x6f8c8 // // 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 12:13:52 +0000 // __int64 __fastcall sub_5DB60(__int64 a1, int a2, int a3) { __int64 v6; // x0 void *v7; // x0 unsigned int v8; // w20 __int64 v10; // x8 __int64 v11; // x2 __int64 v12; // x8 v6 = sub_5F218(*(_QWORD *)(*(_QWORD *)(a1 + 24) + 400LL)); v7 = (void *)sub_5F23C(v6); if ( !*(_QWORD *)(a1 + 64) && !*(_QWORD *)(a1 + 48) ) { *(_DWORD *)(a1 + 32) = a3; *(_DWORD *)(a1 + 36) = 0; *(_DWORD *)(a1 + 40) = a2; *(_DWORD *)(a1 + 44) = 0; v7 = (void *)sub_5F290( *(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000), (unsigned int)(4 * a3), "../../src/fmod_geometryi.cpp", 449, 0); *(_QWORD *)(a1 + 48) = v7; if ( v7 ) { *(_DWORD *)(a1 + 56) = 0; v7 = (void *)sub_5F290( *(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000), (unsigned int)(188 * a2 + 12 * a3), "../../src/fmod_geometryi.cpp", 458, 0); *(_QWORD *)(a1 + 64) = v7; if ( v7 ) { sub_5D358(*(_QWORD *)(a1 + 24)); v8 = (unsigned int)v7; if ( (_DWORD)v7 ) goto LABEL_4; sub_5F220(v7); v7 = (void *)sub_5F290(*(_QWORD *)(v10 + 432), 168, v11, 470, 0); *(_QWORD *)(a1 + 264) = v7; if ( v7 ) { memset(v7, 0, 0xA8u); v12 = *(_QWORD *)(a1 + 264); *(_QWORD *)(v12 + 160) = a1; v7 = (void *)sub_61098(*(_QWORD *)(*(_QWORD *)(a1 + 24) + 416LL), v12 + 80); v8 = 0; goto LABEL_4; } } } v8 = 38; goto LABEL_4; } v8 = 28; LABEL_4: sub_5F234(v7); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source