// // sub_1004CAE14 from 0x1004cae14 to 0x1004cae9c (136 bytes) // // 3 xrefs: // > sub_1004D268C @ 0x1004d26d0 // > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x1004d3f84 // > EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0x1004d4634 // // 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:25 +0000 // __int64 __fastcall sub_1004CAE14(__int64 a1, int a2) { __int64 result; // x0 __int64 v5; // x21 __int64 v6; // x0 result = *(_QWORD *)(a1 + 144); if ( result ) { result = sub_1002E757C(result); if ( (_DWORD)result ) { v5 = 0; while ( 1 ) { v6 = sub_1002E75A0(*(_QWORD *)(a1 + 144), v5); if ( v6 ) { if ( *(_DWORD *)(v6 + 316) == a2 ) break; } v5 = (unsigned int)(v5 + 1); result = sub_1002E757C(*(_QWORD *)(a1 + 144)); if ( (unsigned int)v5 >= (unsigned int)result ) return result; } return sub_1002E7664(*(_QWORD *)(a1 + 144), v5, 1); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source