{"type": "func", "start": 668166, "end": 668206, "name": "sub_A3206", "pseudocode": "// \n// sub_A3206 from 0xa3206 to 0xa322e (40 bytes)\n// \n// 1 xrefs:\n// > sub_A2D14 @ 0xa2d24\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_A3206(_DWORD *a1)\n{\n  int v1; // r2\n  int v2; // r1\n  int result; // r0\n\n  v1 = a1[7];\n  if ( v1 == -1 )\n    return 28;\n  if ( v1 != a1[1] )\n    return 0;\n  v2 = 2 * v1;\n  if ( v1 < 2 )\n    v2 = 4;\n  result = sub_A3148(a1, v2);\n  if ( !result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_A3206 from 0xa3206 to 0xa322e (40 bytes)\n; \n; 1 xrefs:\n; > sub_A2D14 @ 0xa2d24\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            {R7,LR}                                                ; +0x0, 0xa3206\nMOV             R7, SP                                                 ; +0x2, 0xa3208\nLDR             R2, [R0,#0x1C]                                         ; +0x4, 0xa320a\nADDS            R1, R2, #1                                             ; +0x6, 0xa320c\nBEQ             loc_A322A                                              ; +0x8, 0xa320e\nLDR             R1, [R0,#4]                                            ; +0xa, 0xa3210\nCMP             R2, R1                                                 ; +0xc, 0xa3212\nBNE             loc_A3226                                              ; +0xe, 0xa3214\nLSLS            R1, R2, #1                                             ; +0x10, 0xa3216\nCMP             R2, #2                                                 ; +0x12, 0xa3218\nIT LT                                                                  ; +0x14, 0xa321a\nMOVLT           R1, #4                                                 ; +0x16, 0xa321c\nBL              sub_A3148                                              ; +0x18, 0xa321e\nCBZ             R0, loc_A3226                                          ; +0x1c, 0xa3222\nPOP             {R7,PC}                                                ; +0x1e, 0xa3224\nMOVS            R0, #0                                                 ; +0x20, 0xa3226\nPOP             {R7,PC}                                                ; +0x22, 0xa3228\nMOVS            R0, #0x1C                                              ; +0x24, 0xa322a\nPOP             {R7,PC}                                                ; +0x26, 0xa322c", "xrefs": ["sub_A2D14 @ 0xa2d24"], "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"}