// // cocos2d::extension::CCControlButton::getTitleForState from 0x5a1ddc to 0x5a1e40 (100 bytes) // // 0 xrefs: // // 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 // cocos2d::CCString *cocos2d::extension::CCControlButton::getTitleForState( cocos2d::extension::CCControlButton *a1, unsigned int a2) { cocos2d::CCDictionary *m_nZOrder; // r0 cocos2d::CCString *v4; // r0 const std::string *v5; // r1 cocos2d::CCString *v6; // r5 char v8; // [sp+8h] [bp-8h] BYREF m_nZOrder = (cocos2d::CCDictionary *)a1[1].m_nZOrder; if ( m_nZOrder ) { v4 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(m_nZOrder, a2); if ( !v4 ) return (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey((cocos2d::CCDictionary *)a1[1].m_nZOrder, 1); return v4; } else { sub_776584((int)&v8, (char *)&unk_939830); v6 = (cocos2d::CCString *)cocos2d::CCString::create((cocos2d::CCString *)&v8, v5); sub_774008(&v8); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source