// // darkColorForPath from 0x6d1a58 to 0x6d1afa (162 bytes) // // 4 xrefs: // > GJPathPage::unlockAnimationStep2 @ 0x6d22a8 // > GJPathPage::playUnlockAnimation @ 0x6d287e // > GJPathPage::unlockAnimationStep3 @ 0x6d4324 // > GJPathPage::unlockAnimationStep3 @ 0x6d43c0 // // 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:57:03 +0000 // float *__fastcall darkColorForPath(float *a1, int a2) { int v3; // r4 int v4; // r5 int v5; // r6 switch ( a2 ) { case 1: v3 = 0; v4 = 0; goto LABEL_16; case 2: v3 = 255; v4 = 150; goto LABEL_3; case 3: v3 = 0; v4 = 255; LABEL_3: v5 = 0; break; case 4: v3 = 255; v4 = 0; goto LABEL_6; case 5: v3 = 0; v5 = 200; v4 = 0; break; case 6: v3 = 0; v4 = 50; goto LABEL_13; case 7: v3 = 0; goto LABEL_12; case 8: v3 = 100; v4 = 100; LABEL_6: v5 = 100; break; case 10: v3 = 255; LABEL_12: v4 = 0; LABEL_13: v5 = 150; break; default: v3 = 0; v4 = 255; LABEL_16: v5 = 255; break; } memset(a1, 0, 0x10u); a1[3] = 1.0; *a1 = (float)v5 / 255.0; a1[1] = (float)v4 / 255.0; a1[2] = (float)v3 / 255.0; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source