// // sub_10051F57C from 0x10051f57c to 0x10051f618 (156 bytes) // // 2 xrefs: // > sub_10051F2B8 @ 0x10051f3ac // > sub_10051F3E4 @ 0x10051f428 // // 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:07:11 +0000 // void __fastcall sub_10051F57C(__int64 a1) { unsigned int v1; // w8 int v2; // w9 __int64 *v3; // x0 int v4; // w1 unsigned int v5; // w9 v1 = *(_DWORD *)(a1 + 716); if ( (int)v1 < 2 ) { LABEL_2: v2 = 0; goto LABEL_13; } if ( v1 == 2 ) { v2 = 1; } else if ( v1 == 3 ) { v2 = 2; } else if ( v1 >= 6 ) { if ( v1 >= 8 ) { if ( v1 >= 0xA ) { if ( v1 == 10 ) { v5 = *(_DWORD *)(a1 + 756) - 1; if ( v5 > 4 ) v2 = 6; else v2 = *(_DWORD *)&asc_100770464[4 * v5]; goto LABEL_13; } goto LABEL_2; } v2 = 5; } else { v2 = 4; } } else { v2 = 3; } LABEL_13: v3 = *(__int64 **)(a1 + 744); if ( v1 == 1 ) v4 = -1; else v4 = v2; GJDifficultySprite::updateDifficultyFrame(v3, v4, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source