// // sub_100007904 from 0x100007904 to 0x1000079ac (168 bytes) // // 1 xrefs: // > sub_100008C9C @ 0x100008eb4 // // 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 10:57:11 +0000 // __int64 __fastcall sub_100007904(int a1, unsigned int a2) { unsigned int v2; // w8 bool v3; // cf unsigned int v4; // w8 LOBYTE(v2) = 0; if ( a1 <= 69 ) { if ( a1 > 65 ) { if ( a1 != 66 ) { if ( a1 != 68 ) return v2 & 1; goto LABEL_12; } } else if ( a1 != 55 ) { if ( a1 != 57 ) return v2 & 1; LABEL_12: v3 = a2 >= 8; v4 = 166; goto LABEL_17; } v3 = a2 >= 9; v4 = 326; LABEL_17: v2 = v4 >> a2; if ( v3 ) LOBYTE(v2) = 0; return v2 & 1; } if ( a1 > 73 ) { if ( a1 == 74 || a1 == 76 ) LOBYTE(v2) = a2 - 3 < 4; } else if ( a1 == 70 || a1 == 72 ) { LOBYTE(v2) = ((a2 - 3) & 0xFFFFFFFA) == 0; } return v2 & 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source