// // GJMessageThread::createRoleBadge from 0x803970 to 0x803a54 (228 bytes) // // 4 xrefs: // > GJThreadCell::loadFromThread @ 0x73e550 // > ThreadViewPopup::layoutTitleRow @ 0xc6da2c // > ThreadOptionsPopup::init @ 0xc7f754 // > @ 0x515b0 // // 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:44 +0000 // __int64 __fastcall GJMessageThread::createRoleBadge(GJMessageThread *this, float a2) { int v2; // w0 char *v4; // x0 __int64 v5; // x19 void (__fastcall *v6)(__int64, _BYTE *); // x21 void (__fastcall *v7)(__int64, float); // x21 __int64 v8; // x0 _BYTE v10[8]; // [xsp+40h] [xbp+40h] BYREF v2 = *((_DWORD *)this + 72); if ( (unsigned int)(v2 - 1) > 1 ) return 0; if ( v2 == 2 ) v4 = "modBadge_02_001.png"; else v4 = "modBadge_01_001.png"; v5 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)v4, _stack_chk_guard); v6 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v5 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 0.0, 0.5); v6(v5, v10); v7 = *(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 160LL); v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 328LL))(v5); v7(v5, a2 / *(float *)(v8 + 4)); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source