// // sub_1005EB114 from 0x1005eb114 to 0x1005eb21c (264 bytes) // // 4 xrefs: // > sub_1005C22CC @ 0x1005c255c // > sub_1005D3E70 @ 0x1005d42f4 // > sub_1005D3E70 @ 0x1005d43f0 // > sub_10061395C @ 0x100613c20 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_1005EB114(unsigned int *a1) { __int64 v1; // x19 __int64 result; // x0 char **v3; // x0 v1 = *a1; if ( (int)v1 > 649 ) { switch ( (int)v1 ) { case 650: case 653: return 421; case 651: case 654: return 425; case 652: case 655: return 429; case 656: case 657: case 658: case 659: return 30; default: goto LABEL_24; } } result = 37; if ( (int)v1 <= 165 ) { if ( (int)v1 > 96 ) { if ( (_DWORD)v1 != 97 ) { if ( (_DWORD)v1 == 98 ) return result; goto LABEL_24; } } else { if ( (int)v1 > 36 ) { if ( (_DWORD)v1 == 37 ) return result; if ( (_DWORD)v1 != 61 ) goto LABEL_24; return 30; } if ( (_DWORD)v1 != 5 ) { if ( (_DWORD)v1 != 30 ) goto LABEL_24; return 30; } } return 5; } if ( (int)v1 > 424 ) { if ( (_DWORD)v1 == 425 ) return 425; if ( (_DWORD)v1 == 429 ) return 429; } else { if ( (_DWORD)v1 == 166 ) return result; if ( (_DWORD)v1 == 421 ) return 421; } LABEL_24: v3 = sub_10058AB9C(v1); if ( !v3 || !v3[3] ) v1 = 0; sub_1005EE6D8(v3); return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source