{"type": "func", "start": 684322, "end": 684376, "name": "sub_A7122", "pseudocode": "// \n// sub_A7122 from 0xa7122 to 0xa7158 (54 bytes)\n// \n// 2 xrefs:\n// > sub_A7770 @ 0xa77fc\n// > sub_A7964 @ 0xa8364\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:35 +0000\n// \n\nint __fastcall sub_A7122(_DWORD *a1, _DWORD *a2)\n{\n  if ( *a2 )\n    sub_A7074((int)a2);\n  *a2 = *a1;\n  a2[2] = a1[2];\n  a2[1] = a1[1];\n  a2[3] = a1[3];\n  a2[4] = a1[4];\n  a2[5] = a1[5];\n  memset(a1, 0, 0x18u);\n  return 0;\n}", "assembly": "; \n; sub_A7122 from 0xa7122 to 0xa7158 (54 bytes)\n; \n; 2 xrefs:\n; > sub_A7770 @ 0xa77fc\n; > sub_A7964 @ 0xa8364\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:35 +0000\n; \nPUSH            {R4,R5,R7,LR}                                          ; +0x0, 0xa7122\nADD             R7, SP, #8                                             ; +0x2, 0xa7124\nMOV             R4, R0                                                 ; +0x4, 0xa7126\nLDR             R0, [R1]                                               ; +0x6, 0xa7128\nMOV             R5, R1                                                 ; +0x8, 0xa712a\nCBZ             R0, loc_A7134                                          ; +0xa, 0xa712c\nMOV             R0, R5                                                 ; +0xc, 0xa712e\nBL              sub_A7074                                              ; +0xe, 0xa7130\nLDR             R0, [R4]                                               ; +0x12, 0xa7134\nMOVS            R1, #0x18                                              ; +0x14, 0xa7136\nSTR             R0, [R5]                                               ; +0x16, 0xa7138\nLDR             R0, [R4,#8]                                            ; +0x18, 0xa713a\nSTR             R0, [R5,#8]                                            ; +0x1a, 0xa713c\nLDR             R0, [R4,#4]                                            ; +0x1c, 0xa713e\nSTR             R0, [R5,#4]                                            ; +0x1e, 0xa7140\nLDR             R0, [R4,#0xC]                                          ; +0x20, 0xa7142\nSTR             R0, [R5,#0xC]                                          ; +0x22, 0xa7144\nLDR             R0, [R4,#0x10]                                         ; +0x24, 0xa7146\nSTR             R0, [R5,#0x10]                                         ; +0x26, 0xa7148\nLDR             R0, [R4,#0x14]                                         ; +0x28, 0xa714a\nSTR             R0, [R5,#0x14]                                         ; +0x2a, 0xa714c\nMOV             R0, R4                                                 ; +0x2c, 0xa714e\nBLX             __aeabi_memclr4                                        ; +0x2e, 0xa7150\nMOVS            R0, #0                                                 ; +0x32, 0xa7154\nPOP             {R4,R5,R7,PC}                                          ; +0x34, 0xa7156", "xrefs": ["sub_A7770 @ 0xa77fc", "sub_A7964 @ 0xa8364"], "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"}