// // cocos2d::extension::CCControlButton::setTitleColorForState from 0x10033fa20 to 0x10033fac6 (166 bytes) // // 2 xrefs: // > @ 0x100b1e030 // > @ 0x100b52718 // // 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 12:28:43 +0000 // __int64 __fastcall cocos2d::extension::CCControlButton::setTitleColorForState(__int64 a1, int a2, unsigned int a3) { __int64 v4; // r15 _WORD *v5; // r13 __int64 result; // rax v4 = a3; cocos2d::CCDictionary::removeObjectForKey_1(*(_QWORD *)(a1 + 536), a3); v5 = operator new(0x40u); cocos2d::CCObject::CCObject(v5); *(_QWORD *)v5 = off_100B1E248; v5[28] = a2; *((_BYTE *)v5 + 58) = BYTE2(a2); cocos2d::CCObject::autorelease(v5); result = cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 536), (__int64)v5, v4); if ( *(_DWORD *)(a1 + 428) == a3 ) return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1312LL))(a1); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source