{"type": "func", "start": 328490, "end": 328508, "name": "sub_5032A", "pseudocode": "// \n// sub_5032A from 0x5032a to 0x5033c (18 bytes)\n// \n// 2 xrefs:\n// > sub_4D8C4 @ 0x4d9ae\n// > sub_4DD08 @ 0x4de18\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:43 +0000\n// \n\nint __fastcall sub_5032A(int a1, _DWORD *a2)\n{\n  int v2; // r2\n\n  v2 = a2[6];\n  if ( (v2 & 0x400) == 0 )\n  {\n    a2[6] = v2 | 0x400;\n    return sub_501F8(a1, a2);\n  }\n  return a1;\n}", "assembly": "; \n; sub_5032A from 0x5032a to 0x5033c (18 bytes)\n; \n; 2 xrefs:\n; > sub_4D8C4 @ 0x4d9ae\n; > sub_4DD08 @ 0x4de18\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:43 +0000\n; \nLDR             R2, [R1,#0x18]                                         ; +0x0, 0x5032a\nLSLS            R3, R2, #0x15                                          ; +0x2, 0x5032c\nIT MI                                                                  ; +0x4, 0x5032e\nBXMI            LR                                                     ; +0x6, 0x50330\nORR.W           R2, R2, #0x400                                         ; +0x8, 0x50332\nSTR             R2, [R1,#0x18]                                         ; +0xc, 0x50336\nB.W             sub_501F8                                              ; +0xe, 0x50338", "xrefs": ["sub_4D8C4 @ 0x4d9ae", "sub_4DD08 @ 0x4de18"], "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"}