// // cocos2d::extension::CCControlButton::setTitleLabelForState from 0x7a7150 to 0x7a71f0 (160 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::setTitleLabelForState( cocos2d::CCDictionary **this, cocos2d::CCNode *a2, int a3) { int v6; // r1 void (__fastcall *v7)(cocos2d::CCNode *, _BYTE *); // r9 int result; // r0 _BYTE v9[8]; // [sp+4h] [bp-10h] BYREF v6 = cocos2d::CCDictionary::objectForKey(*(this + 101), a3); if ( v6 ) { (*((void (__fastcall **)(cocos2d::CCDictionary **, int, int))*this + 69))(this, v6, 1); cocos2d::CCDictionary::removeObjectForKey(*(this + 101), a3); } cocos2d::CCDictionary::setObject(*(this + 101), a2, a3); (*(void (__fastcall **)(cocos2d::CCNode *, _DWORD))(*(_DWORD *)a2 + 172))(a2, 0); v7 = *(void (__fastcall **)(cocos2d::CCNode *, _BYTE *))(*(_DWORD *)a2 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 0.5, 0.5); v7(a2, v9); result = (*((int (__fastcall **)(cocos2d::CCDictionary **, cocos2d::CCNode *, int))*this + 58))(this, a2, 1); if ( *(this + 83) == (cocos2d::CCDictionary *)a3 ) return (*((int (__fastcall **)(cocos2d::CCDictionary **))*this + 164))(this); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source