// // GJDifficultySprite::init from 0x1002b6b10 to 0x1002b6b57 (71 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __fastcall GJDifficultySprite::init(GJDifficultySprite *a1, int a2, GJDifficultyName a3) { const char *data; // rsi bool result; // al bool v5; // bl std::string v6; // [rsp+0h] [rbp-20h] BYREF GJDifficultySprite::getDifficultyFrame(&v6); if ( (*(_BYTE *)&v6.__r_.__value_.__s.0 & 1) != 0 ) data = v6.__r_.__value_.__l.__data_; else data = v6.__r_.__value_.__s.__data_; result = cocos2d::CCSprite::initWithSpriteFrameName(a1, data); if ( (*(_BYTE *)&v6.__r_.__value_.__s.0 & 1) != 0 ) { v5 = result; operator delete(v6.__r_.__value_.__l.__data_); return v5; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source