// // cocos2d::CCAtlasNode::setColor from 0x180001da0 to 0x180001e24 (132 bytes) // // 5 xrefs: // > @ 0x1800eb7b8 // > @ 0x1800f1828 // > @ 0x18010c028 // > @ 0x18014cf68 // > @ 0x1801b7108 // // This function is hookable on this platform (idp: pc, 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:21:15 +0000 // void __fastcall cocos2d::CCAtlasNode::setColor(cocos2d::CCAtlasNode *this, const struct cocos2d::_ccColor3B *a2) { bool v2; // zf __int16 v3; // ax int v4; // r10d int v5; // r8d __int16 v6; // [rsp+30h] [rbp+8h] BYREF char v7; // [rsp+32h] [rbp+Ah] v2 = *((_BYTE *)this + 64) == 0; v3 = *(_WORD *)a2; v4 = *((unsigned __int8 *)a2 + 2); *((_WORD *)this + 24) = *(_WORD *)a2; v6 = v3; *((_BYTE *)this + 50) = *((_BYTE *)a2 + 2); v7 = v4; if ( !v2 ) { v5 = *((unsigned __int8 *)this + 8); LOBYTE(v6) = v5 * (unsigned int)(unsigned __int8)v6 / 0xFF; HIBYTE(v6) = v5 * (unsigned int)HIBYTE(v6) / 0xFF; v7 = v5 * v4 / 0xFFu; } cocos2d::CCNodeRGBA::setColor(this, (const struct cocos2d::_ccColor3B *)&v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source