{"type": "func", "start": 340458, "end": 340500, "name": "sub_531EA", "pseudocode": "// \n// sub_531EA from 0x531ea to 0x53214 (42 bytes)\n// \n// 1 xrefs:\n// > sub_53150 @ 0x5317a\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:44 +0000\n// \n\n_DWORD *__fastcall sub_531EA(_DWORD *result, int *a2, int a3)\n{\n  int v3; // r12\n  _DWORD *v4; // r5\n  int v5; // r3\n  int v6; // r4\n  int v7; // r6\n\n  v3 = 0;\n  while ( v3 < a3 )\n  {\n    v4 = result;\n    v5 = *a2;\n    v6 = a2[1];\n    v7 = a2[2];\n    a2 += 3;\n    result += 3;\n    ++v3;\n    *v4 = v5;\n    v4[1] = v6;\n    v4[2] = v7;\n  }\n  return result;\n}", "assembly": "; \n; sub_531EA from 0x531ea to 0x53214 (42 bytes)\n; \n; 1 xrefs:\n; > sub_53150 @ 0x5317a\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:44 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x531ea\nADD             R7, SP, #0xC                                           ; +0x2, 0x531ec\nPUSH.W          {R11}                                                  ; +0x4, 0x531ee\nMOV.W           R12, #0                                                ; +0x8, 0x531f2\nCMP             R12, R2                                                ; +0xc, 0x531f6\nBGE             loc_5320E                                              ; +0xe, 0x531f8\nMOV             LR, R1                                                 ; +0x10, 0x531fa\nMOV             R5, R0                                                 ; +0x12, 0x531fc\nLDM.W           LR, {R3,R4,R6}                                         ; +0x14, 0x531fe\nADDS            R1, #0xC                                               ; +0x18, 0x53202\nADDS            R0, #0xC                                               ; +0x1a, 0x53204\nADD.W           R12, R12, #1                                           ; +0x1c, 0x53206\nSTM             R5!, {R3,R4,R6}                                        ; +0x20, 0x5320a\nB               loc_531F6                                              ; +0x22, 0x5320c\nPOP.W           {R11}                                                  ; +0x24, 0x5320e\nPOP             {R4-R7,PC}                                             ; +0x28, 0x53212", "xrefs": ["sub_53150 @ 0x5317a"], "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"}