{"type": "func", "start": 16813576, "end": 16813708, "name": "DSO_up_ref", "pseudocode": "// \n// DSO_up_ref from 0x1008e08 to 0x1008e8c (132 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xd7db8\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 13:15:58 +0000\n// \n\nbool __fastcall DSO_up_ref(__int64 a1)\n{\n  int v2; // [xsp+2Ch] [xbp+2Ch] BYREF\n\n  if ( a1 )\n  {\n    return (int)CRYPTO_atomic_add(a1 + 16, 1, &v2, *(_QWORD *)(a1 + 64)) > 0 && v2 > 1;\n  }\n  else\n  {\n    ERR_put_error(37, 114, 67, \"crypto/dso/dso_lib.c\", 106);\n    return 0;\n  }\n}", "assembly": "; \n; DSO_up_ref from 0x1008e08 to 0x1008e8c (132 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xd7db8\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 13:15:58 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x1008e08\nMOV             X29, SP                                                ; +0x4, 0x1008e0c\nSTR             X19, [SP,#0x30+var_20]                                 ; +0x8, 0x1008e10\nMOV             X19, X0                                                ; +0xc, 0x1008e14\nCBZ             X0, loc_1008E60                                        ; +0x10, 0x1008e18\nLDR             X3, [X0,#0x40]                                         ; +0x14, 0x1008e1c\nMOV             W1, #1                                                 ; +0x18, 0x1008e20\nADD             X0, X0, #0x10                                          ; +0x1c, 0x1008e24\nADD             X2, X29, #0x30+var_4                                   ; +0x20, 0x1008e28\nBL              CRYPTO_atomic_add                                      ; +0x24, 0x1008e2c\nCMP             W0, WZR                                                ; +0x28, 0x1008e30\nB.LE            loc_1008E50                                            ; +0x2c, 0x1008e34\nLDR             W0, [X29,#0x30+var_4]                                  ; +0x30, 0x1008e38\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x34, 0x1008e3c\nCMP             W0, #1                                                 ; +0x38, 0x1008e40\nCSET            W0, GT                                                 ; +0x3c, 0x1008e44\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x40, 0x1008e48\nRET                                                                    ; +0x44, 0x1008e4c\nMOV             W0, #0                                                 ; +0x48, 0x1008e50\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x4c, 0x1008e54\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x50, 0x1008e58\nRET                                                                    ; +0x54, 0x1008e5c\nADRP            X3, #aCryptoDsoDsoLi@PAGE; \"crypto/dso/dso_lib.c\"      ; +0x58, 0x1008e60\nMOV             W0, #0x25 ; '%'                                        ; +0x5c, 0x1008e64\nMOV             W1, #0x72 ; 'r'                                        ; +0x60, 0x1008e68\nMOV             W2, #0x43 ; 'C'                                        ; +0x64, 0x1008e6c\nADD             X3, X3, #aCryptoDsoDsoLi@PAGEOFF; \"crypto/dso/dso_lib.c\" ; +0x68, 0x1008e70\nMOV             W4, #0x6A ; 'j'                                        ; +0x6c, 0x1008e74\nBL              ERR_put_error                                          ; +0x70, 0x1008e78\nMOV             W0, W19                                                ; +0x74, 0x1008e7c\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x78, 0x1008e80\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x7c, 0x1008e84\nRET                                                                    ; +0x80, 0x1008e88", "xrefs": ["<???> @ 0xd7db8"], "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"}