// // cocos2d::extension::CCControlButton::setTitleColorForState from 0x7a7990 to 0x7a7a0c (124 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:59:59 +0000 // int __fastcall cocos2d::extension::CCControlButton::setTitleColorForState(int a1, int a2, int a3) { int v5; // r4 int result; // r0 cocos2d::CCDictionary::removeObjectForKey(*(cocos2d::CCDictionary **)(a1 + 400), a3); v5 = operator new(0x38u); cocos2d::CCObject::CCObject((cocos2d::CCObject *)v5); *(_WORD *)(v5 + 52) = a2; *(_BYTE *)(v5 + 54) = BYTE2(a2); *(_DWORD *)v5 = &off_CFEFB0; cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5); result = cocos2d::CCDictionary::setObject(*(cocos2d::CCDictionary **)(a1 + 400), (cocos2d::CCObject *)v5, a3); if ( *(_DWORD *)(a1 + 332) == a3 ) return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 656))(a1); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source