// // GJRateLevelListLayer::starSumForBottom from 0x565890 to 0x5658da (74 bytes) // // 1 xrefs: // > GJRateLevelListLayer::updateStarSumLabel @ 0x5658e6 // // 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:52:28 +0000 // int __fastcall GJRateLevelListLayer::starSumForBottom(GJRateLevelListLayer *this, int a2) { char *v2; // r4 char *v3; // r0 int v4; // r3 char *v5; // r2 int v6; // t1 int v7; // r3 int result; // r0 int v9; // r2 int v10; // t1 v2 = (char *)this + 744; v3 = (char *)this + 784; v4 = 0; v5 = v2; do { v6 = *((_DWORD *)v5 + 1); v5 += 4; v4 += v6; } while ( v5 != v3 ); if ( v4 <= 0 || a2 > v4 ) return -1; v7 = 0; result = 0; do { if ( a2 <= 0 ) break; v10 = *((_DWORD *)v2 + 1); v2 += 4; v9 = v10; ++v7; if ( v10 >= a2 ) v9 = a2; result += v7 * v9; a2 -= v9; } while ( v7 != 10 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source