// // SoundPackDescPopup::refreshIconSlot from 0xcce7fc to 0xcce9d4 (472 bytes) // // 3 xrefs: // > SoundPackDescPopup::emotePicked @ 0xccf56c // > SoundPackDescPopup::init @ 0xcd01f0 // > @ 0xb0cc8 // // 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 13:06:25 +0000 // __int64 __fastcall SoundPackDescPopup::refreshIconSlot(SoundPackDescPopup *this) { __int64 v2; // x0 int v3; // w0 __int64 v4; // x2 __int64 v5; // x3 cocos2d::CCSprite *v6; // x20 long double v7; // q1 void (__fastcall *v8)(cocos2d::CCSprite *, _BYTE *); // x23 __int64 v9; // x0 size_t v11; // x2 void *v12; // x1 float v13; // [xsp+40h] [xbp+40h] _BYTE v14[8]; // [xsp+68h] [xbp+68h] BYREF __int64 v15; // [xsp+70h] [xbp+70h] BYREF __int64 v16; // [xsp+78h] [xbp+78h] void *v17; // [xsp+80h] [xbp+80h] v2 = *((_QWORD *)this + 134); if ( !v2 ) return _stack_chk_guard; (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v2 + 568LL))(v2, 1, 1); v3 = *((unsigned __int8 *)this + 1048); if ( (v3 & 1) != 0 ) { v11 = *((_QWORD *)this + 132); if ( v11 ) { v12 = *((void **)this + 133); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, v12, v11); goto LABEL_5; } LABEL_12: v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "music", 5u); goto LABEL_5; } if ( !(v3 >> 1) ) goto LABEL_12; v4 = *((_QWORD *)this + 131); v5 = *((_QWORD *)this + 132); v17 = *((void **)this + 133); v15 = v4; v16 = v5; LABEL_5: v6 = EmoteSprite::createWithName((char *)&v15); if ( (v15 & 1) != 0 ) operator delete(v17); if ( v6 ) { LODWORD(v7) = 0; EmoteSprite::fitToHeight(v6, 20.0, v7); v8 = *(void (__fastcall **)(cocos2d::CCSprite *, _BYTE *))(*(_QWORD *)v6 + 184LL); v13 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 134) + 328LL))(*((_QWORD *)this + 134)) * 0.5; v9 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 134) + 328LL))(*((_QWORD *)this + 134)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, v13, *(float *)(v9 + 4) * 0.5); v8(v6, v14); (*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(*(_QWORD *)v6 + 72LL))(v6, 1); (*(void (__fastcall **)(_QWORD, cocos2d::CCSprite *, __int64))(**((_QWORD **)this + 134) + 464LL))( *((_QWORD *)this + 134), v6, 1); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source