// // GJDifficultySprite::updateDifficultyFrame from 0x10038075c to 0x100380880 (292 bytes) // // 4 xrefs: // > LevelInfoLayer::updateLabelValues @ 0x10002d03c // > sub_100088FD4 @ 0x100089134 // > sub_10024658C @ 0x1002466ec // > sub_10051F57C @ 0x10051f5e8 // // 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 11:03:30 +0000 // void __fastcall GJDifficultySprite::updateDifficultyFrame(__int64 *a1, int a2, int a3) { __int64 v6; // x22 std::string *p_p; // x1 __int64 v8; // x0 float v9; // s8 __int64 v10; // x0 unsigned int v11; // w20 __int64 v12; // x0 std::string __p; // [xsp+8h] [xbp-58h] BYREF v6 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(a1); sub_10038069C(a2, a3, &__p); if ( (__p.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) p_p = &__p; else p_p = (std::string *)__p.__r_.__value_.__r.__words[0]; v8 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, p_p); (*(void (__fastcall **)(__int64 *, __int64))(*a1 + 1160))(a1, v8); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); if ( a1[26] ) { v9 = *(float *)(*(__int64 (__fastcall **)(__int64 *))(*a1 + 328))(a1) * 0.5; v10 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 328))(a1); sub_1000262BC((float *)&__p, v9, *(float *)(v10 + 4) * 0.5); if ( (unsigned int)sub_1002E757C(a1[26]) ) { v11 = 0; do { v12 = sub_1002E75A0(a1[26], v11); (*(void (__fastcall **)(__int64, std::string *))(*(_QWORD *)v12 + 184LL))(v12, &__p); ++v11; } while ( v11 < (unsigned int)sub_1002E757C(a1[26]) ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source