// // sub_1004CD3FC from 0x1004cd3fc to 0x1004cd4f4 (248 bytes) // // 4 xrefs: // > sub_1004CC170 @ 0x1004ccdfc // > sub_1004CCFC4 @ 0x1004cd038 // > EditorSoundBrowserLayer::setTextPopupClosed @ 0x1004ce0bc // > sub_1004CE110 @ 0x1004ce114 // // 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:06:26 +0000 // __int64 __fastcall sub_1004CD3FC(__int64 a1, int a2) { __int64 v3; // x0 unsigned int v5; // w21 __int64 v6; // x22 __int64 v7; // x23 _BOOL8 v8; // x1 __int64 v9; // x0 _BOOL8 v10; // x20 *(_DWORD *)(a1 + 1048) = a2; *(_DWORD *)(a1 + 1052) = 0; *(_DWORD *)(a1 + 1112) = 0; if ( *(_QWORD *)(a1 + 1168) ) { v3 = *(_QWORD *)(a1 + 1176); if ( v3 ) { if ( (unsigned int)sub_1002E757C(v3) ) { v5 = 0; do { v6 = sub_1002E75A0(*(_QWORD *)(a1 + 1168), v5); v7 = sub_1002E75A0(*(_QWORD *)(a1 + 1176), v5); v8 = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v6 + 64LL))(v6) == a2; (*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v7 + 344LL))(v7, v8); ++v5; } while ( v5 < (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 1176)) ); } } } v9 = *(_QWORD *)(a1 + 1088); if ( v9 ) { v10 = *(_DWORD *)(a1 + 1048) == 1; (*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v9 + 344LL))(v9, v10); (*(void (__fastcall **)(_QWORD, _BOOL8))(**(_QWORD **)(a1 + 1088) + 1056LL))(*(_QWORD *)(a1 + 1088), v10); } return sub_1004CD5C0(a1, 0, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source