{"type": "func", "start": 667374, "end": 667440, "name": "sub_A2EEE", "pseudocode": "// \n// sub_A2EEE from 0xa2eee to 0xa2f30 (66 bytes)\n// \n// 1 xrefs:\n// > sub_A310C @ 0xa3116\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:34 +0000\n// \n\nint __fastcall sub_A2EEE(int a1, int a2, void *a3, int a4, int a5, _DWORD *a6)\n{\n  __int64 v7; // r0\n  int v8; // r6\n  int result; // r0\n\n  if ( !a2 )\n    return 0;\n  *a6 = *(_DWORD *)(a1 + 392);\n  v7 = *(_QWORD *)(a1 + 392);\n  v8 = v7 * a4;\n  if ( (int)v7 * a4 > SHIDWORD(v7) )\n    return 28;\n  result = sub_A2F30(a1);\n  if ( !result )\n  {\n    qmemcpy(a3, *(const void **)(a1 + 380), 4 * v8);\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_A2EEE from 0xa2eee to 0xa2f30 (66 bytes)\n; \n; 1 xrefs:\n; > sub_A310C @ 0xa3116\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:34 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0xa2eee\nADD             R7, SP, #0xC                                           ; +0x2, 0xa2ef0\nPUSH.W          {R11}                                                  ; +0x4, 0xa2ef2\nCBZ             R1, loc_A2F28                                          ; +0x8, 0xa2ef6\nMOV             R5, R0                                                 ; +0xa, 0xa2ef8\nLDR             R0, [R7,#-0x10+arg_4]                                  ; +0xc, 0xa2efa\nLDR.W           R1, [R5,#0x188]                                        ; +0xe, 0xa2efc\nSTR             R1, [R0]                                               ; +0x12, 0xa2f00\nLDRD.W          R0, R1, [R5,#0x188]                                    ; +0x14, 0xa2f02\nMUL             R6, R0, R3                                             ; +0x18, 0xa2f06\nCMP             R6, R1                                                 ; +0x1c, 0xa2f0a\nBLE             loc_A2F12                                              ; +0x1e, 0xa2f0c\nMOVS            R0, #0x1C                                              ; +0x20, 0xa2f0e\nB               loc_A2F2A                                              ; +0x22, 0xa2f10\nMOV             R0, R5                                                 ; +0x24, 0xa2f12\nMOV             R4, R2                                                 ; +0x26, 0xa2f14\nBL              sub_A2F30                                              ; +0x28, 0xa2f16\nCBNZ            R0, loc_A2F2A                                          ; +0x2c, 0xa2f1a\nLDR.W           R1, [R5,#0x17C]                                        ; +0x2e, 0xa2f1c\nLSLS            R2, R6, #2                                             ; +0x32, 0xa2f20\nMOV             R0, R4                                                 ; +0x34, 0xa2f22\nBLX             __aeabi_memcpy4                                        ; +0x36, 0xa2f24\nMOVS            R0, #0                                                 ; +0x3a, 0xa2f28\nPOP.W           {R11}                                                  ; +0x3c, 0xa2f2a\nPOP             {R4-R7,PC}                                             ; +0x40, 0xa2f2e", "xrefs": ["sub_A310C @ 0xa3116"], "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"}