// // RateStarsModLayer::updateDSprite from 0x140560280 to 0x140560336 (182 bytes) // // 1 xrefs: // > RateStarsModLayer::selectDemon @ 0x140560374 // // 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:34:14 +0000 // void __fastcall RateStarsModLayer::updateDSprite(__int64 a1) { int v1; // r8d int v2; // edx int v4; // ecx int v5; // ecx int v6; // ecx int v7; // ecx v1 = *(_DWORD *)(a1 + 716); v2 = 0; if ( v1 > 1 ) { if ( v1 == 2 ) { v2 = 1; goto LABEL_23; } if ( v1 == 3 ) { v2 = 2; goto LABEL_23; } if ( v1 <= 5 ) { v2 = 3; goto LABEL_23; } if ( v1 <= 7 ) { v2 = 4; goto LABEL_23; } if ( v1 <= 9 ) { v2 = 5; goto LABEL_23; } if ( v1 == 10 ) { v4 = *(_DWORD *)(a1 + 756) - 1; if ( v4 ) { v5 = v4 - 1; if ( v5 ) { v6 = v5 - 1; if ( v6 ) { v7 = v6 - 1; if ( !v7 ) { v2 = 9; goto LABEL_23; } if ( v7 == 1 ) { v2 = 10; goto LABEL_23; } } v2 = 6; } else { v2 = 8; } } else { v2 = 7; } } } LABEL_23: if ( v1 == 1 ) v2 = -1; GJDifficultySprite::updateDifficultyFrame(*(cocos2d::CCArray ***)(a1 + 744), v2, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source