// // CustomSongWidget::updateUsageButton from 0x14016acc0 to 0x14016ada7 (231 bytes) // // 6 xrefs: // > CustomSongWidget::updateSongInfo @ 0x14016c3cc // > CustomSongWidget::updateMultiAssetInfo @ 0x14016dafe // > @ 0x14089c4fc // > @ 0x14089c50c // > @ 0x140918080 // > @ 0x14091808c // // 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 11:27:28 +0000 // void __fastcall CustomSongWidget::updateUsageButton(__int64 a1, __int64 a2) { __int64 v3; // rcx __int64 v4; // rax char v5; // al __int64 v6; // rax __int64 v7; // rbx __int64 v8; // rax char v9; // [rsp+30h] [rbp+8h] BYREF char v10; // [rsp+38h] [rbp+10h] BYREF v3 = *(_QWORD *)(a1 + 536); if ( v3 ) { if ( *(_BYTE *)(a1 + 544) && (v4 = *(_QWORD *)(a1 + 336)) != 0 && !*(_BYTE *)(a1 + 500) && *(int *)(v4 + 320) > 0 ) { LOBYTE(a2) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 336LL))(v3, a2); v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 440) + 344LL))(*(_QWORD *)(a1 + 440)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v10, (float)(int)(v5 != 0 ? 0xFFFFFFEB : 0), 0.0); v7 = v6; v8 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 440) + 200LL))(*(_QWORD *)(a1 + 440)); cocos2d::CCPoint::operator+(v8, &v9, v7); (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 536) + 184LL))(*(_QWORD *)(a1 + 536), &v9); } else { (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 336LL))(v3, 0); } } }