// // GameObject::getRelativeSpriteColor from 0x14029e9c0 to 0x14029ea2a (106 bytes) // // 7 xrefs: // > ConfigureHSVWidget::getHSV @ 0x1401314a7 // > CustomizeObjectLayer::hsvPopupClosed @ 0x140142ee9 // > CustomizeObjectLayer::getActiveMode @ 0x14014350b // > CustomizeObjectLayer::updateSelected @ 0x140143f2b // > CustomizeObjectLayer::updateSelected @ 0x140143fec // > GameObject::setupCustomSprites @ 0x1402c05cd // > HSVLiveOverlay::hsvChanged @ 0x1403c1516 // // 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:29:15 +0000 // __int64 __fastcall GameObject::getRelativeSpriteColor(__int64 a1, int a2) { __int16 v2; // ax char v4; // al int v5; // edx bool v6; // al v2 = *(_WORD *)(a1 + 1048); if ( v2 ) v4 = v2 == 1; else v4 = *(_BYTE *)(a1 + 1300); v6 = false; if ( !v4 && !*(_QWORD *)(a1 + 896) ) { v5 = *(_DWORD *)(*(_QWORD *)(a1 + 1104) + 4LL); if ( v5 != 1004 ) { if ( v5 ) v6 = true; } } if ( a2 == 2 ) { if ( !v6 ) return *(_QWORD *)(a1 + 1112); } else if ( v6 ) { return 0; } return *(_QWORD *)(a1 + 1104); }
GD Web Decomp Icon

GD Web Decomp

Raw Source