// // sub_100509580 from 0x100509580 to 0x100509680 (256 bytes) // // 1 xrefs: // > GJRateEditorSoundLayer::init @ 0x100509439 // // This function is hookable on this platform (idp: pc, 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:31:33 +0000 // void __fastcall sub_100509580(_QWORD *a1, double a2) { __int64 v2; // rax __int64 v3; // rax char *v4; // rax __int128 v5; // [rsp+8h] [rbp-28h] BYREF void *__p; // [rsp+18h] [rbp-18h] *(float *)&a2 = (*(float (__fastcall **)(_QWORD *, __int64))(*a1 + 1464LL))(a1, 4294967276LL); if ( (int)*(float *)&a2 > 0 ) { v2 = GameLevelManager::sharedState(a2); if ( (unsigned __int8)sub_100579B70(v2, *(unsigned int *)(a1[130] + 316LL), 1, (unsigned int)(int)*(float *)&a2, 0) ) { *(_QWORD *)(GameLevelManager::sharedState(a2) + 1360) = a1 + 128; v3 = a1[131]; if ( v3 ) *(_QWORD *)(v3 + 664) = 0; __p = operator new(0x1Au); *(_QWORD *)&v5 = 27; *((_QWORD *)&v5 + 1) = 23; strcpy((char *)__p, "Featuring sound pack..."); v4 = UploadActionPopup::create((__int64)(a1 + 127), &v5); a1[131] = v4; if ( (v5 & 1) != 0 ) { operator delete(__p); v4 = (char *)a1[131]; } (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 1312LL))(v4); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source