{"type": "func", "start": 367596, "end": 367638, "name": "sub_59BEC", "pseudocode": "// \n// sub_59BEC from 0x59bec to 0x59c16 (42 bytes)\n// \n// 4 xrefs:\n// > sub_59870 @ 0x59890\n// > sub_59870 @ 0x59936\n// > sub_59870 @ 0x599dc\n// > sub_59870 @ 0x59a52\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:40:48 +0000\n// \n\nint __fastcall sub_59BEC(int *a1)\n{\n  int v1; // r1\n  int v2; // r2\n  int v3; // r3\n  int result; // r0\n\n  v1 = *a1;\n  v2 = a1[1];\n  v3 = a1[2];\n  result = 0;\n  if ( (v1 & 0x7F800000) == 0x7F800000 )\n    result = 29;\n  if ( (v2 & 0x7F800000) == 0x7F800000 )\n    result = 29;\n  if ( (v3 & 0x7F800000) == 0x7F800000 )\n    return 29;\n  return result;\n}", "assembly": "; \n; sub_59BEC from 0x59bec to 0x59c16 (42 bytes)\n; \n; 4 xrefs:\n; > sub_59870 @ 0x59890\n; > sub_59870 @ 0x59936\n; > sub_59870 @ 0x599dc\n; > sub_59870 @ 0x59a52\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:40:48 +0000\n; \nLDM             R0!, {R1-R3}                                           ; +0x0, 0x59bec\nMOVS            R0, #0                                                 ; +0x2, 0x59bee\nAND.W           R1, R1, #0x7F800000                                    ; +0x4, 0x59bf0\nCMP.W           R1, #0x7F800000                                        ; +0x8, 0x59bf4\nIT EQ                                                                  ; +0xc, 0x59bf8\nMOVEQ           R0, #0x1D                                              ; +0xe, 0x59bfa\nAND.W           R1, R2, #0x7F800000                                    ; +0x10, 0x59bfc\nCMP.W           R1, #0x7F800000                                        ; +0x14, 0x59c00\nIT EQ                                                                  ; +0x18, 0x59c04\nMOVEQ           R0, #0x1D                                              ; +0x1a, 0x59c06\nAND.W           R1, R3, #0x7F800000                                    ; +0x1c, 0x59c08\nCMP.W           R1, #0x7F800000                                        ; +0x20, 0x59c0c\nIT EQ                                                                  ; +0x24, 0x59c10\nMOVEQ           R0, #0x1D                                              ; +0x26, 0x59c12\nBX              LR                                                     ; +0x28, 0x59c14", "xrefs": ["sub_59870 @ 0x59890", "sub_59870 @ 0x59936", "sub_59870 @ 0x599dc", "sub_59870 @ 0x59a52"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}