// // GameObject::updateObjectEditorColor from 0x44e1c0 to 0x44e27a (186 bytes) // // 3 xrefs: // > GameObject::deselectObject @ 0x44e28a // > LevelEditorLayer::updateVisibility @ 0x463064 // > ParticleGameObject::updateParticle @ 0x4e7c88 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:48:35 +0000 // int __fastcall GameObject::updateObjectEditorColor(GameObject *this, int a2, int a3) { GJSpriteColor *v4; // r6 int (__fastcall *v5)(GameObject *, _DWORD *); // r7 int ColorMode; // r0 int v7; // r1 int v8; // r0 int result; // r0 GJSpriteColor *v10; // r7 int v11; // r0 int v12; // r1 int v13; // r0 int v14; // r3 _DWORD v15[3]; // [sp+0h] [bp-Ch] BYREF v15[0] = this; v15[1] = a2; v15[2] = a3; v4 = *((GJSpriteColor **)this + 240); v5 = *(int (__fastcall **)(GameObject *, _DWORD *))(*(_DWORD *)this + 748); ColorMode = GJSpriteColor::getColorMode(v4); if ( ColorMode == *((_DWORD *)v4 + 1) ) v7 = 0; else v7 = ColorMode; v8 = GameObject::editorColorForMode(this, v7); LOWORD(v15[0]) = v8; BYTE2(v15[0]) = BYTE2(v8); result = v5(this, v15); if ( *((_DWORD *)this + 189) ) { v10 = *((GJSpriteColor **)this + 241); v11 = GJSpriteColor::getColorMode(v10); if ( v11 == *((_DWORD *)v10 + 1) ) v12 = 0; else v12 = v11; v13 = GameObject::editorColorForMode(this, v12); v14 = *(_DWORD *)this; LOWORD(v15[0]) = v13; BYTE2(v15[0]) = BYTE2(v13); result = (*(int (__fastcall **)(GameObject *, _DWORD *))(v14 + 796))(this, v15); } if ( *((_BYTE *)this + 656) ) { result = (*(int (__fastcall **)(GameObject *, int))(*(_DWORD *)this + 240))(this, 999); if ( result ) return (*(int (__fastcall **)(int, __int16 *))(*(_DWORD *)result + 536))(result, &word_BEBBDC); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source