{"type": "func", "start": 422188, "end": 422272, "name": "sub_6712C", "pseudocode": "// \n// sub_6712C from 0x6712c to 0x67180 (84 bytes)\n// \n// 5 xrefs:\n// > sub_DAC9C @ 0xdacbc\n// > sub_DACC0 @ 0xdacd4\n// > sub_DAD20 @ 0xdad28\n// > sub_DAD58 @ 0xdad74\n// > sub_DAD88 @ 0xdada0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:13:55 +0000\n// \n\n__int64 __fastcall sub_6712C(__int64 a1, _QWORD *a2, _QWORD *a3)\n{\n  __int64 result; // x0\n\n  if ( !a1 )\n    return 30;\n  if ( !a2 )\n    return 31;\n  if ( !a3 || (result = sub_50238(a3, *(_QWORD *)(a1 + 24)), !(_DWORD)result) )\n  {\n    *a2 = a1;\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_6712C from 0x6712c to 0x67180 (84 bytes)\n; \n; 5 xrefs:\n; > sub_DAC9C @ 0xdacbc\n; > sub_DACC0 @ 0xdacd4\n; > sub_DAD20 @ 0xdad28\n; > sub_DAD58 @ 0xdad74\n; > sub_DAD88 @ 0xdada0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:13:55 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x6712c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x67130\nADD             X29, SP, #0x10                                         ; +0x8, 0x67134\nCBZ             X0, loc_67168                                          ; +0xc, 0x67138\nMOV             X19, X1                                                ; +0x10, 0x6713c\nCBZ             X1, loc_67170                                          ; +0x14, 0x67140\nMOV             X20, X0                                                ; +0x18, 0x67144\nCBZ             X2, loc_6715C                                          ; +0x1c, 0x67148\nLDR             X1, [X20,#0x18]                                        ; +0x20, 0x6714c\nMOV             X0, X2                                                 ; +0x24, 0x67150\nBL              sub_50238                                              ; +0x28, 0x67154\nCBNZ            W0, loc_67174                                          ; +0x2c, 0x67158\nMOV             W0, WZR                                                ; +0x30, 0x6715c\nSTR             X20, [X19]                                             ; +0x34, 0x67160\nB               loc_67174                                              ; +0x38, 0x67164\nMOV             W0, #0x1E                                              ; +0x3c, 0x67168\nB               loc_67174                                              ; +0x40, 0x6716c\nMOV             W0, #0x1F                                              ; +0x44, 0x67170\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0x67174\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x4c, 0x67178\nRET                                                                    ; +0x50, 0x6717c", "xrefs": ["sub_DAC9C @ 0xdacbc", "sub_DACC0 @ 0xdacd4", "sub_DAD20 @ 0xdad28", "sub_DAD58 @ 0xdad74", "sub_DAD88 @ 0xdada0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}