// // cocos2d::CCLabelBMFont::setColor from 0xd55578 to 0xd5566c (244 bytes) // // 4 xrefs: // > `non-virtual thunk to'cocos2d::CCLabelBMFont::setColor @ 0xd55670 // > @ 0x95b30 // > @ 0x1415340 // > @ 0x15187b0 // // 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:43 +0000 // __int64 __fastcall cocos2d::CCLabelBMFont::setColor(__int64 a1, __int16 *a2) { __int16 v3; // w2 __int64 v4; // x3 char v5; // w0 int v6; // w1 const void *v7; // x0 void *v8; // x0 void *v9; // x21 __int64 v10; // x0 __int16 v12; // [xsp+30h] [xbp+30h] BYREF char v13; // [xsp+32h] [xbp+32h] __int64 v14; // [xsp+38h] [xbp+38h] v3 = *a2; *(_WORD *)(a1 + 485) = *a2; v4 = _stack_chk_guard; v5 = *((_BYTE *)a2 + 2); v6 = *(unsigned __int8 *)(a1 + 488); *(_BYTE *)(a1 + 487) = v5; v14 = v4; *(_WORD *)(a1 + 482) = v3; *(_BYTE *)(a1 + 484) = v5; if ( v6 ) { v7 = *(const void **)(a1 + 216); v12 = -1; v13 = -1; if ( v7 ) { v8 = _dynamic_cast( v7, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); v9 = v8; if ( v8 ) { if ( (*(unsigned __int8 (__fastcall **)(void *))(*(_QWORD *)v8 + 64LL))(v8) ) { v10 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v9 + 16LL))(v9); v12 = *(_WORD *)v10; v13 = *(_BYTE *)(v10 + 2); } } } (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)a1 + 1080LL))(a1, &v12); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source