// // sub_1004D224C from 0x1004d224c to 0x1004d233c (240 bytes) // // 1 xrefs: // > sub_1004CF9C0 @ 0x1004d0b94 // // 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:29 +0000 // __int64 __fastcall sub_1004D224C(__int64 result) { __int64 v1; // x8 __int64 v2; // x19 char *v3; // x20 __int64 v4; // x0 void *v5; // x19 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v7; // [xsp+1Fh] [xbp-11h] v1 = *(_QWORD *)(result + 1088); if ( v1 ) { v2 = result; if ( *(_DWORD *)(result + 1096) == 2 && *(int *)(v1 + 320) > 0 ) { v3 = "Delete this sound pack from your device?"; } else { v3 = "Discard the downloaded data and close?"; if ( EditorSFXManager::sharedState() ) { v4 = EditorSFXManager::sharedState(); if ( sub_1004CAD00(v4, *(_DWORD *)(*(_QWORD *)(v2 + 1088) + 316LL)) ) v3 = "Remove this sound pack from your Favorites?"; } } sub_100009900(__p, v3); v5 = FLAlertLayer::create_1( v2 + 1032, (__int64)"Delete Sound Pack", (__int64)__p, (__int64)"Cancel", (__int64)"Delete", 380.0); if ( v7 < 0 ) operator delete(__p[0]); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v5 + 72LL))(v5, 7004); return (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v5 + 1312LL))(v5); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source