// // GameObject::setDefaultMainColorMode from 0x100686b70 to 0x100686ba0 (48 bytes) // // 5 xrefs: // > PlayLayer::addObject @ 0x10007f76b // > LevelEditorLayer::copyObjectState @ 0x1000c79d3 // > EffectGameObject::customSetup @ 0x100176112 // > GameObject::setupCustomSprites @ 0x100439e0b // > GameObject::setupCustomSprites @ 0x10043a7ec // // 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:35:05 +0000 // _DWORD *__fastcall GameObject::setDefaultMainColorMode(__int64 a1, int a2) { _DWORD *result; // rax int v3; // ecx int v4; // edx result = *(_DWORD **)(a1 + 1096); if ( result ) { v3 = 0; if ( a2 > 0 ) v3 = a2; v4 = 1101; if ( v3 < 1101 ) v4 = v3; result[1] = v4; *result = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source