// // GJMessageThread::createRoleBadge from 0x14024f260 to 0x14024f309 (169 bytes) // // 4 xrefs: // > ThreadViewPopup::layoutTitleRow @ 0x1400e329e // > ThreadOptionsPopup::init @ 0x1400f4647 // > GJThreadCell::loadFromThread @ 0x140159eae // > @ 0x14091c43c // // 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 11:28:41 +0000 // struct cocos2d::CCSprite *__fastcall GJMessageThread::createRoleBadge(__int64 a1) { int v1; // eax const char *v3; // rcx struct cocos2d::CCSprite *v4; // rdi __int64 v5; // rbx __int64 v6; // rax __int64 v7; // rbx char v8; // [rsp+40h] [rbp+8h] BYREF v1 = *(_DWORD *)(a1 + 344); if ( v1 != 1 && v1 != 2 ) return nullptr; v3 = "modBadge_01_001.png"; if ( v1 == 2 ) v3 = "modBadge_02_001.png"; v4 = cocos2d::CCSprite::createWithSpriteFrameName(v3); v5 = *(_QWORD *)v4; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v8, 0.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v5 + 288))(v4, v6); v7 = *(_QWORD *)v4; (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v4 + 320LL))(v4); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(v7 + 160))(v4); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source