// // CustomSongWidget::updateUsageButton from 0x4e24bc to 0x4e2572 (182 bytes) // // 2 xrefs: // > CustomSongWidget::updateSongInfo @ 0x4e3402 // > CustomSongWidget::updateMultiAssetInfo @ 0x4e5228 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:51:02 +0000 // int __fastcall CustomSongWidget::updateUsageButton(CustomSongWidget *this) { int result; // r0 int v3; // r4 int v4; // r0 int v5; // r7 int (__fastcall *v6)(int, _BYTE *); // r8 float v7; // r1 int v8; // r9 float v9; // [sp+0h] [bp-24h] _BYTE v10[8]; // [sp+Ch] [bp-18h] BYREF _BYTE v11[8]; // [sp+14h] [bp-10h] BYREF result = *((_DWORD *)this + 95); if ( result ) { v3 = *((unsigned __int8 *)this + 384); if ( *((_BYTE *)this + 384) ) { v3 = *((_DWORD *)this + 68); if ( v3 ) { if ( *((_BYTE *)this + 356) ) v3 = 0; else v3 = *(_DWORD *)(v3 + 264) > 0; } } result = (*(int (__fastcall **)(int, int))(*(_DWORD *)result + 172))(result, v3); if ( v3 ) { v4 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 81) + 176))(*((_DWORD *)this + 81)); v5 = *((_DWORD *)this + 95); v6 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v5 + 92); if ( v4 ) v7 = -21.0; else v7 = 0.0; v9 = v7; v8 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 81) + 96))(*((_DWORD *)this + 81)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, v9, 0.0); cocos2d::CCPoint::operator+(v10, v8, v11); return v6(v5, v10); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source