// // LevelInfoLayer::onRateStarsMod from 0x7e54d8 to 0x7e5568 (144 bytes) // // 3 xrefs: // > @ 0xcc250 // > LevelInfoLayer::init @ 0x7ec278 // > @ 0x1545ff0 // // 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 12:54:28 +0000 // _BYTE *__fastcall LevelInfoLayer::onRateStarsMod(_BYTE *this, cocos2d::CCObject *a2) { _BYTE *v2; // x19 GJGameLevel *v3; // x1 __int64 v4; // x0 GJGameLevel *v5; // x0 unsigned int v6; // w19 int isPlatformer; // w0 bool v8; // w2 if ( !*(this + 488) ) { v2 = this; if ( *(int *)(GameManager::sharedState((GameManager *)this) + 1048) <= 0 ) { v5 = *((GJGameLevel **)v2 + 63); v6 = *((_DWORD *)v5 + 82) - *((_DWORD *)v5 + 83); isPlatformer = GJGameLevel::isPlatformer(v5); v4 = RateStarsModLayer::create((RateStarsModLayer *)v6, isPlatformer, v8); } else { v4 = GJRateLevelLayer::create(*((GJRateLevelLayer **)v2 + 63), v3); } return (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source