// // sub_CA9510 from 0xca9510 to 0xca9618 (264 bytes) // // 5 xrefs: // > DeathTrackerPopup::mountVirtualRow @ 0xcaaa80 // > DeathTrackerPopup::mountVirtualRow @ 0xcaad80 // > DeathTrackerPopup::refreshGlobal @ 0xcac998 // > DeathTrackerPopup::buildList @ 0xcb0e54 // > DeathTrackerPopup::buildList @ 0xcb129c // // 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:06:04 +0000 // unsigned __int64 __fastcall sub_CA9510(float a1) { float v1; // s3 float v2; // s1 float v3; // s5 float v4; // s6 float v5; // s2 float v6; // s4 if ( a1 < 0.0 ) { v6 = -45.0; v1 = 45.0; v2 = -30.0; v3 = 235.0; v5 = 230.0; v4 = 25.0; a1 = 0.0; } else if ( a1 <= 1.0 ) { if ( a1 < 0.5 ) { v6 = -45.0; v1 = 45.0; v2 = -30.0; v3 = 235.0; v5 = 230.0; v4 = 25.0; return (unsigned __int8)(unsigned int)(float)(v4 + (float)((float)(a1 + a1) * v5)) | (unsigned __int64)(unsigned __int16)((unsigned __int8)(unsigned int)(float)(v3 + (float)((float)(a1 + a1) * v2)) << 8) | ((unsigned __int64)(unsigned __int8)(unsigned int)(float)(v1 + (float)((float)(a1 + a1) * v6)) << 16); } v1 = 0.0; v6 = 15.0; v2 = -180.0; v3 = 205.0; v5 = 0.0; v4 = 255.0; } else { v1 = 0.0; v2 = -180.0; v3 = 205.0; v4 = 255.0; v5 = 0.0; a1 = 1.0; v6 = 15.0; } if ( a1 >= 0.5 ) a1 = a1 - 0.5; return (unsigned __int8)(unsigned int)(float)(v4 + (float)((float)(a1 + a1) * v5)) | (unsigned __int64)(unsigned __int16)((unsigned __int8)(unsigned int)(float)(v3 + (float)((float)(a1 + a1) * v2)) << 8) | ((unsigned __int64)(unsigned __int8)(unsigned int)(float)(v1 + (float)((float)(a1 + a1) * v6)) << 16); }
GD Web Decomp Icon

GD Web Decomp

Raw Source