{"type": "func", "start": 322120, "end": 322168, "name": "sub_4EA48", "pseudocode": "// \n// sub_4EA48 from 0x4ea48 to 0x4ea78 (48 bytes)\n// \n// 0 xrefs:\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_4EA48(int a1, signed int a2, int *a3, void *a4, size_t a5)\n{\n  int v6; // r2\n\n  v6 = *a3;\n  if ( (int)(v6 + a5) > a2 )\n    return 31;\n  qmemcpy(a4, (const void *)(a1 + v6), a5);\n  *a3 += a5;\n  return 0;\n}", "assembly": "; \n; sub_4EA48 from 0x4ea48 to 0x4ea78 (48 bytes)\n; \n; 0 xrefs:\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; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x4ea48\nADD             R7, SP, #0xC                                           ; +0x2, 0x4ea4a\nPUSH.W          {R11}                                                  ; +0x4, 0x4ea4c\nMOV             R4, R2                                                 ; +0x8, 0x4ea50\nLDR             R2, [R2]                                               ; +0xa, 0x4ea52\nLDR             R5, [R7,#-0x10+arg_0]                                  ; +0xc, 0x4ea54\nADDS            R6, R2, R5                                             ; +0xe, 0x4ea56\nCMP             R6, R1                                                 ; +0x10, 0x4ea58\nBLE             loc_4EA60                                              ; +0x12, 0x4ea5a\nMOVS            R0, #0x1F                                              ; +0x14, 0x4ea5c\nB               loc_4EA72                                              ; +0x16, 0x4ea5e\nADDS            R1, R0, R2                                             ; +0x18, 0x4ea60\nMOV             R0, R3                                                 ; +0x1a, 0x4ea62\nMOV             R2, R5                                                 ; +0x1c, 0x4ea64\nBLX             __aeabi_memcpy                                         ; +0x1e, 0x4ea66\nLDR             R0, [R4]                                               ; +0x22, 0x4ea6a\nADD             R0, R5                                                 ; +0x24, 0x4ea6c\nSTR             R0, [R4]                                               ; +0x26, 0x4ea6e\nMOVS            R0, #0                                                 ; +0x28, 0x4ea70\nPOP.W           {R11}                                                  ; +0x2a, 0x4ea72\nPOP             {R4-R7,PC}                                             ; +0x2e, 0x4ea76", "xrefs": [], "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"}