// // cocos2d::CCMotionStreak::tintWithColor from 0x1005a3c20 to 0x1005a3c98 (120 bytes) // // 0 xrefs: // // 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 12:32:34 +0000 // __int64 __fastcall cocos2d::CCMotionStreak::tintWithColor(__int64 a1, int a2) { __int64 v2; // rax __int64 result; // rax unsigned __int64 v4; // rcx __int64 v5; // rdx __int64 v6; // rsi __int16 v7; // [rsp+0h] [rbp-Ch] BYREF char v8; // [rsp+2h] [rbp-Ah] char v9; // [rsp+3h] [rbp-9h] v9 = HIBYTE(v2); v7 = a2; v8 = BYTE2(a2); result = (*(__int64 (__fastcall **)(__int64, __int16 *))(*(_QWORD *)a1 + 960LL))(a1, &v7); if ( (*(_DWORD *)(a1 + 392) & 0x7FFFFFFF) != 0 ) { result = 0; v4 = 0; do { v5 = *(_QWORD *)(a1 + 424); v6 = (unsigned int)result & 0xFFFFFFFC; *(_BYTE *)(v5 + v6 + 2) = v8; *(_WORD *)(v5 + v6) = v7; ++v4; result += 4; } while ( v4 < (unsigned int)(2 * *(_DWORD *)(a1 + 392)) ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source