{"type": "func", "start": 583088, "end": 583144, "name": "sub_8E5B0", "pseudocode": "// \n// sub_8E5B0 from 0x8e5b0 to 0x8e5e8 (56 bytes)\n// \n// 1 xrefs:\n// > sub_8E2C4 @ 0x8e512\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:41:24 +0000\n// \n\nbool __fastcall sub_8E5B0(const void **a1, const void **a2)\n{\n  int v2; // r2\n  int v3; // r3\n\n  if ( a1 == a2 )\n    return 1;\n  v2 = *(unsigned __int16 *)a1;\n  if ( v2 == *(unsigned __int16 *)a2 && (v3 = *((unsigned __int16 *)a1 + 1), v3 == *((unsigned __int16 *)a2 + 1)) )\n    return memcmp(a1[1], a2[1], 4 * (__int16)v2 * (__int16)v3) == 0;\n  else\n    return 0;\n}", "assembly": "; \n; sub_8E5B0 from 0x8e5b0 to 0x8e5e8 (56 bytes)\n; \n; 1 xrefs:\n; > sub_8E2C4 @ 0x8e512\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:41:24 +0000\n; \nPUSH            {R4,R6,R7,LR}                                          ; +0x0, 0x8e5b0\nADD             R7, SP, #8                                             ; +0x2, 0x8e5b2\nCMP             R0, R1                                                 ; +0x4, 0x8e5b4\nBEQ             loc_8E5E4                                              ; +0x6, 0x8e5b6\nLDRH            R2, [R0]                                               ; +0x8, 0x8e5b8\nLDRH            R3, [R1]                                               ; +0xa, 0x8e5ba\nCMP             R2, R3                                                 ; +0xc, 0x8e5bc\nBNE             loc_8E5E0                                              ; +0xe, 0x8e5be\nLDRH            R3, [R0,#2]                                            ; +0x10, 0x8e5c0\nLDRH            R4, [R1,#2]                                            ; +0x12, 0x8e5c2\nCMP             R3, R4                                                 ; +0x14, 0x8e5c4\nBNE             loc_8E5E0                                              ; +0x16, 0x8e5c6\nSXTH            R2, R2                                                 ; +0x18, 0x8e5c8\nSXTH            R3, R3                                                 ; +0x1a, 0x8e5ca\nMULS            R2, R3                                                 ; +0x1c, 0x8e5cc\nLDR             R1, [R1,#4]; s2                                        ; +0x1e, 0x8e5ce\nLDR             R0, [R0,#4]; s1                                        ; +0x20, 0x8e5d0\nLSLS            R2, R2, #2; n                                          ; +0x22, 0x8e5d2\nBLX             memcmp                                                 ; +0x24, 0x8e5d4\nCLZ.W           R0, R0                                                 ; +0x28, 0x8e5d8\nLSRS            R0, R0, #5                                             ; +0x2c, 0x8e5dc\nPOP             {R4,R6,R7,PC}                                          ; +0x2e, 0x8e5de\nMOVS            R0, #0                                                 ; +0x30, 0x8e5e0\nPOP             {R4,R6,R7,PC}                                          ; +0x32, 0x8e5e2\nMOVS            R0, #1                                                 ; +0x34, 0x8e5e4\nPOP             {R4,R6,R7,PC}                                          ; +0x36, 0x8e5e6", "xrefs": ["sub_8E2C4 @ 0x8e512"], "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"}