// // GJPathSprite::addRankLabel from 0xa6e460 to 0xa6e5e0 (384 bytes) // // 2 xrefs: // > GJPathSprite::updateState @ 0xa6eedc // > @ 0xab9c0 // // 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 // void GJPathSprite::addRankLabel(GJPathSprite *a1, int a2) { cocos2d::CCLabelBMFont *v3; // x19 cocos2d::CCArray **p_m_pTargetArray; // x0 GJPathSprite *v5; // x0 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x23 unsigned int *p_m_nExtraKerning; // x2 int m_nExtraKerning; // w1 _BYTE v9[8]; // [xsp+40h] [xbp+40h] BYREF cocos2d::CCPoint v10; // [xsp+48h] [xbp+48h] BYREF cocos2d::CCLabelBMFont *v11; // [xsp+50h] [xbp+50h] BYREF GameToolbox::intToString((__int64 *)&v11, (GameToolbox *)(unsigned int)a2); v3 = cocos2d::CCLabelBMFont::create(); p_m_pTargetArray = &v11[-1].m_pTargetArray; if ( &v11[-1].m_pTargetArray != (cocos2d::CCArray **)&qword_124B6B0 ) { if ( &pthread_create ) { p_m_nExtraKerning = (unsigned int *)&v11[-1].m_nExtraKerning; do m_nExtraKerning = __ldaxr(p_m_nExtraKerning); while ( __stlxr(m_nExtraKerning - 1, p_m_nExtraKerning) ); } else { m_nExtraKerning = v11[-1].m_nExtraKerning; v11[-1].m_nExtraKerning = m_nExtraKerning - 1; } if ( m_nExtraKerning <= 0 ) operator delete(p_m_pTargetArray); } v3->setScale(v3, 0.55); a1->addChild_0(a1, v3, 1); v5 = a1; setPosition = v3->setPosition; cocos2d::CCNode::convertToNodeSpace(v5, &stru_1244548); cocos2d::CCPoint::CCPoint(&v10, 0.0, 1.0); cocos2d::CCPoint::operator+(&v11, v9, &v10); setPosition(v3, (const cocos2d::CCPoint *)&v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source