{"type": "func", "start": 668972, "end": 669006, "name": "sub_A352C", "pseudocode": "// \n// sub_A352C from 0xa352c to 0xa354e (34 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0xa3076\n// > <???> @ 0xa351a\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_A352C(int a1)\n{\n  int v2; // r0\n  int result; // r0\n\n  v2 = *(_DWORD *)(a1 + 400);\n  if ( !v2 )\n    return 28;\n  result = sub_A2ED6(v2, a1);\n  if ( !result )\n  {\n    result = 0;\n    *(_DWORD *)(a1 + 400) = 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_A352C from 0xa352c to 0xa354e (34 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0xa3076\n; > <???> @ 0xa351a\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,R6,R7,LR}                                          ; +0x0, 0xa352c\nADD             R7, SP, #8                                             ; +0x2, 0xa352e\nMOV             R4, R0                                                 ; +0x4, 0xa3530\nLDR.W           R0, [R0,#0x190]                                        ; +0x6, 0xa3532\nCBZ             R0, loc_A3542                                          ; +0xa, 0xa3536\nMOV             R1, R4                                                 ; +0xc, 0xa3538\nBL              sub_A2ED6                                              ; +0xe, 0xa353a\nCBZ             R0, loc_A3546                                          ; +0x12, 0xa353e\nPOP             {R4,R6,R7,PC}                                          ; +0x14, 0xa3540\nMOVS            R0, #0x1C                                              ; +0x16, 0xa3542\nPOP             {R4,R6,R7,PC}                                          ; +0x18, 0xa3544\nMOVS            R0, #0                                                 ; +0x1a, 0xa3546\nSTR.W           R0, [R4,#0x190]                                        ; +0x1c, 0xa3548\nPOP             {R4,R6,R7,PC}                                          ; +0x20, 0xa354c", "xrefs": ["<???> @ 0xa3076", "<???> @ 0xa351a"], "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"}