// // GameObject::updateBlendMode from 0x140298da0 to 0x140298e17 (119 bytes) // // 4 xrefs: // > GameObject::addMainSpriteToParent @ 0x140298e35 // > LevelEditorLayer::manualUpdateObjectColors @ 0x1403f7433 // > PlayLayer::manualUpdateObjectColors @ 0x14050ee00 // > @ 0x14091d66c // // 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:11 +0000 // char __fastcall GameObject::updateBlendMode(__int64 a1) { int v2; // eax bool v3; // zf char v4; // cl int *v5; // rdx LOBYTE(v2) = GameObject::shouldBlendColor(a1, *(int **)(a1 + 1104), 1); v3 = *(_QWORD *)(a1 + 896) == 0; v4 = v2; *(_BYTE *)(a1 + 892) = v2; if ( v3 ) goto LABEL_9; v5 = *(int **)(a1 + 1112); v2 = *v5; if ( v5[1] == *v5 || !v2 ) v2 = v5[1]; if ( v2 != 1012 ) { LOBYTE(v2) = GameObject::shouldBlendColor(a1, v5, 0); v4 = v2; } if ( !v4 ) LABEL_9: *(_BYTE *)(a1 + 893) = 0; else *(_BYTE *)(a1 + 893) = 1; return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source