// // RateStarsModLayer::updateDSprite from 0x79e548 to 0x79e5ac (100 bytes) // // 2 xrefs: // > RateStarsModLayer::selectRating @ 0x79e74c // > RateStarsModLayer::selectDemon @ 0x79e792 // // 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:59:51 +0000 // unsigned int __fastcall RateStarsModLayer::updateDSprite(RateStarsModLayer *this) { int v1; // r3 unsigned int v2; // r2 int v3; // r1 cocos2d::CCArray **v4; // r0 v1 = *((_DWORD *)this + 137); if ( v1 <= 1 ) goto LABEL_15; if ( v1 == 2 ) { v3 = 1; goto LABEL_17; } if ( v1 == 3 ) { v3 = 2; goto LABEL_17; } if ( v1 <= 5 ) { v3 = 3; goto LABEL_17; } if ( v1 <= 7 ) { v3 = 4; goto LABEL_17; } if ( v1 <= 9 ) { v3 = 5; goto LABEL_17; } if ( v1 == 10 ) { v2 = *((_DWORD *)this + 143) - 1; if ( v2 > 4 ) v3 = 6; else v3 = *((char *)&word_BF1248 + v2 + 4); } else { LABEL_15: v3 = 0; } LABEL_17: v4 = *((cocos2d::CCArray ***)this + 141); if ( v1 == 1 ) v3 = -1; return GJDifficultySprite::updateDifficultyFrame(v4, (const char *)v3, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source