{"type": "func", "start": 319816, "end": 319858, "name": "sub_4E148", "pseudocode": "// \n// sub_4E148 from 0x4e148 to 0x4e172 (42 bytes)\n// \n// 2 xrefs:\n// > sub_4DFA8 @ 0x4e044\n// > sub_4DFA8 @ 0x4e092\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:42 +0000\n// \n\nint __fastcall sub_4E148(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_4E148 from 0x4e148 to 0x4e172 (42 bytes)\n; \n; 2 xrefs:\n; > sub_4DFA8 @ 0x4e044\n; > sub_4DFA8 @ 0x4e092\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:42 +0000\n; \nLDM             R0!, {R1-R3}                                           ; +0x0, 0x4e148\nMOVS            R0, #0                                                 ; +0x2, 0x4e14a\nAND.W           R1, R1, #0x7F800000                                    ; +0x4, 0x4e14c\nCMP.W           R1, #0x7F800000                                        ; +0x8, 0x4e150\nIT EQ                                                                  ; +0xc, 0x4e154\nMOVEQ           R0, #0x1D                                              ; +0xe, 0x4e156\nAND.W           R1, R2, #0x7F800000                                    ; +0x10, 0x4e158\nCMP.W           R1, #0x7F800000                                        ; +0x14, 0x4e15c\nIT EQ                                                                  ; +0x18, 0x4e160\nMOVEQ           R0, #0x1D                                              ; +0x1a, 0x4e162\nAND.W           R1, R3, #0x7F800000                                    ; +0x1c, 0x4e164\nCMP.W           R1, #0x7F800000                                        ; +0x20, 0x4e168\nIT EQ                                                                  ; +0x24, 0x4e16c\nMOVEQ           R0, #0x1D                                              ; +0x26, 0x4e16e\nBX              LR                                                     ; +0x28, 0x4e170", "xrefs": ["sub_4DFA8 @ 0x4e044", "sub_4DFA8 @ 0x4e092"], "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"}