// // cocos2d::extension::CCControlButton::setTitleColorForState from 0xd0cf5c to 0xd0d03c (224 bytes) // // 3 xrefs: // > @ 0x9cfd0 // > @ 0x150aa28 // > @ 0x15101a8 // // 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:07:00 +0000 // __int64 __fastcall cocos2d::extension::CCControlButton::setTitleColorForState(__int64 a1, int a2, unsigned int a3) { __int64 v3; // x22 __int64 v5; // x19 __int64 result; // x0 v3 = a3; cocos2d::CCDictionary::removeObjectForKey(*(cocos2d::CCDictionary **)(a1 + 536), a3); v5 = operator new(0x40u); cocos2d::CCObject::CCObject((cocos2d::CCObject *)v5); *(_WORD *)(v5 + 56) = a2; *(_QWORD *)v5 = &off_150A410; *(_BYTE *)(v5 + 58) = BYTE2(a2); cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5); cocos2d::CCDictionary::setObject(*(cocos2d::CCDictionary **)(a1 + 536), (cocos2d::CCObject *)v5, v3); result = *(unsigned int *)(a1 + 428); if ( (_DWORD)v3 == (_DWORD)result ) return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1312LL))(a1); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source