// // png_check_fp_number from 0xe3d4a0 to 0xe3d608 (360 bytes) // // 4 xrefs: // > png_check_fp_string @ 0xe3d62c // > png_handle_sCAL @ 0xe573b8 // > png_handle_sCAL @ 0xe5742c // > @ 0x4e070 // // 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:10:01 +0000 // bool __fastcall png_check_fp_number(__int64 a1, unsigned __int64 a2, int *a3, unsigned __int64 *a4) { unsigned __int64 v4; // x6 int v5; // w5 int v6; // w4 int v8; // w4 int v9; // w11 int v10; // w10 v4 = *a4; v5 = *a3; if ( *a4 < a2 ) { while ( 2 ) { switch ( *(_BYTE *)(a1 + v4) ) { case '+': v8 = 4; v9 = 68; v10 = 4; goto LABEL_7; case '-': v9 = 196; v8 = 4; v10 = 132; goto LABEL_7; case '.': v8 = 16; v9 = 80; v10 = 16; goto LABEL_7; case '0': v8 = 8; v9 = 72; v10 = 8; goto LABEL_7; case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': v9 = 328; v8 = 8; v10 = 264; goto LABEL_7; case 'E': case 'e': v8 = 32; v9 = 96; v10 = 32; LABEL_7: switch ( (v5 & 3) + v8 ) { case 4: if ( (v5 & 0x3C) != 0 ) goto LABEL_3; v5 |= v10; goto LABEL_10; case 6: if ( (v5 & 0x3C) != 0 ) goto LABEL_3; v5 |= 4u; goto LABEL_10; case 8: if ( (v5 & 0x10) != 0 ) v5 = v5 & 0x1C0 | 0x11; v5 |= v9; goto LABEL_10; case 9: v5 |= 0x40 | v10; goto LABEL_10; case 0xA: v5 |= 0x48u; goto LABEL_10; case 0x10: if ( (v5 & 0x10) != 0 ) goto LABEL_3; if ( (v5 & 8) != 0 ) v5 |= v10; else v5 = v5 & 0x1C0 | 1 | v10; goto LABEL_10; case 0x20: case 0x21: v6 = v5 & 8; if ( (v5 & 8) == 0 ) goto LABEL_4; v5 = v5 & 0x1C0 | 2; LABEL_10: if ( a2 <= ++v4 ) goto LABEL_3; continue; default: goto LABEL_3; } default: goto LABEL_3; } } } LABEL_3: v6 = v5 & 8; LABEL_4: *a3 = v5; *a4 = v4; return v6 != 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source