// // GJDifficultySprite::create from 0x1002a4ab0 to 0x1002a4b6c (188 bytes) // // 8 xrefs: // > LevelCell::loadCustomLevelCell @ 0x100238c2f // > RateStarsLayer::init @ 0x1002775d2 // > LevelInfoLayer::setupLevelInfo @ 0x1002ad743 // > GJRateLevelLayer::init @ 0x100504dab // > StarInfoPopup::init @ 0x1008a8d46 // > StarInfoPopup::init @ 0x1008a8ea3 // > RateStarsModLayer::init @ 0x100963213 // > sub_100976F40 @ 0x1009770c0 // // 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 12:27:55 +0000 // _QWORD *__fastcall GJDifficultySprite::create(double a1) { _QWORD *v1; // rbx std::string::pointer data; // rsi char v3; // r14 std::string v5; // [rsp+0h] [rbp-30h] BYREF v1 = operator new(0x258u); cocos2d::CCSprite::CCSprite((__int64)v1); *v1 = off_100B0C028; v1[40] = off_100B0C510; v1[43] = off_100B0C590; *((_DWORD *)v1 + 149) = 0; GJDifficultySprite::getDifficultyFrame(&v5); if ( (*(_BYTE *)&v5.__r_.__value_.__s.0 & 1) != 0 ) data = v5.__r_.__value_.__l.__data_; else data = v5.__r_.__value_.__s.__data_; v3 = cocos2d::CCSprite::initWithSpriteFrameName((__int64)v1, (__int64)data, a1); if ( (*(_BYTE *)&v5.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v5.__r_.__value_.__l.__data_); if ( v3 ) { cocos2d::CCObject::autorelease(v1); } else { (*(void (__fastcall **)(_QWORD *))(*v1 + 16LL))(v1); return nullptr; } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source