// // ColorAction2::step from 0xba2908 to 0xba2a04 (252 bytes) // // 1 xrefs: // > @ 0xf9dc0 // // This function is hookable on this platform (idp: arm, 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 13:02:47 +0000 // __int64 __fastcall ColorAction2::step(__int64 this, float a2) { __int64 v2; // x19 float v3; // s0 float v4; // s1 float v5; // s8 float v6; // s9 unsigned __int64 v7; // x0 int v8; // w0 char v9; // w1 int v10; // w0 char v11; // w1 if ( !*(_BYTE *)this && !*(_BYTE *)(this + 1) ) { v2 = this; v3 = a2 + *(float *)(this + 12); v4 = *(float *)(this + 24); v5 = v3 + *(float *)(this + 92); *(float *)(this + 12) = v3; if ( v5 < v4 ) { if ( v5 <= 0.0 ) goto LABEL_11; v6 = v5 / v4; if ( (float)(v5 / v4) < 1.0 ) { if ( v6 > 0.0 ) { v7 = GameToolbox::multipliedColorValue(*(_QWORD *)(this + 16), *(_QWORD *)(this + 19), v5 / v4); *(_WORD *)(v2 + 2) = v7; *(_BYTE *)(v2 + 4) = BYTE2(v7); v4 = *(float *)(v2 + 24); *(float *)(v2 + 8) = *(float *)(v2 + 40) + (float)(v6 * (float)(*(float *)(v2 + 44) - *(float *)(v2 + 40))); LABEL_9: this = v5 >= v4; *(_BYTE *)v2 = this; return this; } LABEL_11: v10 = *(_DWORD *)(this + 40); v11 = *(_BYTE *)(v2 + 18); *(_WORD *)(v2 + 2) = *(_WORD *)(v2 + 16); *(_BYTE *)(v2 + 4) = v11; *(_DWORD *)(v2 + 8) = v10; goto LABEL_9; } } v8 = *(_DWORD *)(this + 44); v9 = *(_BYTE *)(v2 + 21); *(_WORD *)(v2 + 2) = *(_WORD *)(v2 + 19); *(_BYTE *)(v2 + 4) = v9; *(_DWORD *)(v2 + 8) = v8; goto LABEL_9; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source