{"type": "func", "start": 422086, "end": 422156, "name": "sub_670C6", "pseudocode": "// \n// sub_670C6 from 0x670c6 to 0x6710c (70 bytes)\n// \n// 0 xrefs:\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:56 +0000\n// \n\nint __fastcall sub_670C6(int a1, int a2, int a3)\n{\n  int v3; // r5\n  int result; // r0\n  int v6; // [sp+8h] [bp-18h] BYREF\n  int v7; // [sp+Ch] [bp-14h] BYREF\n\n  if ( a2 )\n    return 0;\n  v3 = *(_DWORD *)(a1 + 4);\n  sub_B43A8(v3);\n  v6 = 0;\n  v7 = 0;\n  sub_57A48(*(_DWORD *)(v3 + 44), &v6, &v7);\n  result = sub_B434C(v3, v6, v7, 4 * a3, 0);\n  if ( !result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_670C6 from 0x670c6 to 0x6710c (70 bytes)\n; \n; 0 xrefs:\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:56 +0000\n; \nCBNZ            R1, loc_67108                                          ; +0x0, 0x670c6\nPUSH            {R4-R7,LR}                                             ; +0x2, 0x670c8\nADD             R7, SP, #0xC                                           ; +0x4, 0x670ca\nPUSH.W          {R11}                                                  ; +0x6, 0x670cc\nSUB             SP, SP, #0x10                                          ; +0xa, 0x670d0\nLDR             R5, [R0,#4]                                            ; +0xc, 0x670d2\nMOV             R4, R2                                                 ; +0xe, 0x670d4\nMOV             R0, R5                                                 ; +0x10, 0x670d6\nBL              sub_B43A8                                              ; +0x12, 0x670d8\nMOVS            R6, #0                                                 ; +0x16, 0x670dc\nADD             R1, SP, #0x10+var_8                                    ; +0x18, 0x670de\nSTRD.W          R6, R6, [SP,#0x10+var_8]                               ; +0x1a, 0x670e0\nADD             R2, SP, #0x10+var_4                                    ; +0x1e, 0x670e4\nLDR             R0, [R5,#0x2C]                                         ; +0x20, 0x670e6\nBL              sub_57A48                                              ; +0x22, 0x670e8\nLDRD.W          R1, R2, [SP,#0x10+var_8]                               ; +0x26, 0x670ec\nLSLS            R3, R4, #2                                             ; +0x2a, 0x670f0\nMOV             R0, R5                                                 ; +0x2c, 0x670f2\nSTR             R6, [SP,#0x10+var_10]                                  ; +0x2e, 0x670f4\nBL              sub_B434C                                              ; +0x30, 0x670f6\nADD             SP, SP, #0x10                                          ; +0x34, 0x670fa\nPOP.W           {R11}                                                  ; +0x36, 0x670fc\nPOP.W           {R4-R7,LR}                                             ; +0x3a, 0x67100\nCBZ             R0, loc_67108                                          ; +0x3e, 0x67104\nBX              LR                                                     ; +0x40, 0x67106\nMOVS            R0, #0                                                 ; +0x42, 0x67108\nBX              LR                                                     ; +0x44, 0x6710a", "xrefs": [], "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"}