// // cocos2d::CCLabelBMFont::setColor from 0x10039895c to 0x100398a28 (204 bytes) // // 3 xrefs: // > sub_100398A28 @ 0x100398a2c // > @ 0x1008b9178 // > @ 0x100942020 // // 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 11:03:42 +0000 // __int64 __fastcall cocos2d::CCLabelBMFont::setColor(__int64 result, __int16 *a2) { __int64 v2; // x29 __int64 v3; // x30 __int16 v4; // w9 __int16 v5; // w8 __int64 v6; // x19 const void *v7; // x0 void *v8; // x0 void *v9; // x20 __int64 v10; // x0 char v11; // w8 __int16 v12; // [xsp+Ch] [xbp-24h] BYREF char v13; // [xsp+Eh] [xbp-22h] __int64 v14; // [xsp+20h] [xbp-10h] __int64 v15; // [xsp+28h] [xbp-8h] v4 = *a2; *(_BYTE *)(result + 487) = *((_BYTE *)a2 + 2); *(_WORD *)(result + 485) = v4; v5 = *a2; *(_BYTE *)(result + 484) = *((_BYTE *)a2 + 2); *(_WORD *)(result + 482) = v5; if ( *(_BYTE *)(result + 488) == 1 ) { v14 = v2; v15 = v3; v6 = result; v13 = -1; v12 = -1; v7 = *(const void **)(result + 216); if ( v7 ) { v8 = __dynamic_cast( v7, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&off_1008BD768, -2); if ( v8 ) { v9 = v8; if ( (*(unsigned int (__fastcall **)(void *))(*(_QWORD *)v8 + 64LL))(v8) ) { v10 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v9 + 16LL))(v9); v11 = *(_BYTE *)(v10 + 2); v12 = *(_WORD *)v10; v13 = v11; } } } return (*(__int64 (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v6 + 1080LL))(v6, &v12); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source