// // cocos2d::extension::CCControlButton::getTitleForState from 0x1003541b0 to 0x10035421d (109 bytes) // // 2 xrefs: // > @ 0x1009161a8 // > @ 0x1009478f0 // // 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 *__fastcall cocos2d::extension::CCControlButton::getTitleForState( cocos2d::extension::CCControlButton *a1, unsigned int a2) { cocos2d::CCDictionary *v3; // rdi cocos2d::CCString *result; // rax cocos2d::CCString *v5; // rbx _WORD v6[8]; // [rsp+0h] [rbp-20h] BYREF void *__p; // [rsp+10h] [rbp-10h] v3 = *(cocos2d::CCDictionary **)&a1[1].m_fRotationX; if ( v3 ) { result = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(v3, a2); if ( !result ) return (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)&a1[1].m_fRotationX, 1); } else { v6[0] = 0; result = (cocos2d::CCString *)sub_1007AB360(v6); if ( (v6[0] & 1) != 0 ) { v5 = result; operator delete(__p); return v5; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source