{"type": "func", "start": 10452640, "end": 10452756, "name": "DSO_up_ref", "pseudocode": "// \n// DSO_up_ref from 0x9f7ea0 to 0x9f7f14 (116 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x7aa6c\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 12:07:33 +0000\n// \n\nbool __fastcall DSO_up_ref(int a1)\n{\n  int v2; // [sp+Ch] [bp-4h] BYREF\n\n  if ( a1 )\n  {\n    return CRYPTO_atomic_add(a1 + 8, 1, &v2, *(_DWORD *)(a1 + 36)) > 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 0x9f7ea0 to 0x9f7f14 (116 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x7aa6c\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 12:07:33 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x9f7ea0\nSUBS            R4, R0, #0                                             ; +0x4, 0x9f7ea4\nSUB             SP, SP, #0x10                                          ; +0x8, 0x9f7ea8\nBEQ             loc_9F7EE8                                             ; +0xc, 0x9f7eac\nADD             R0, R4, #8                                             ; +0x10, 0x9f7eb0\nLDR             R3, [R4,#0x24]                                         ; +0x14, 0x9f7eb4\nMOV             R1, #1                                                 ; +0x18, 0x9f7eb8\nADD             R2, SP, #0x10+var_4                                    ; +0x1c, 0x9f7ebc\nBL              CRYPTO_atomic_add                                      ; +0x20, 0x9f7ec0\nCMP             R0, #0                                                 ; +0x24, 0x9f7ec4\nMOVLE           R0, #0                                                 ; +0x28, 0x9f7ec8\nBLE             loc_9F7EE0                                             ; +0x2c, 0x9f7ecc\nLDR             R0, [SP,#0x10+var_4]                                   ; +0x30, 0x9f7ed0\nCMP             R0, #1                                                 ; +0x34, 0x9f7ed4\nMOVLE           R0, #0                                                 ; +0x38, 0x9f7ed8\nMOVGT           R0, #1                                                 ; +0x3c, 0x9f7edc\nADD             SP, SP, #0x10                                          ; +0x40, 0x9f7ee0\nPOP             {R4,PC}                                                ; +0x44, 0x9f7ee4\nMOV             R3, #0x6A ; 'j'                                        ; +0x48, 0x9f7ee8\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x4c, 0x9f7eec\nLDR             R3, =(aCryptoDsoDsoLi - 0x9F7F08); \"crypto/dso/dso_lib.c\" ; +0x50, 0x9f7ef0\nMOV             R0, #0x25 ; '%'                                        ; +0x54, 0x9f7ef4\nMOV             R1, #0x72 ; 'r'                                        ; +0x58, 0x9f7ef8\nMOV             R2, #0x43 ; 'C'                                        ; +0x5c, 0x9f7efc\nADD             R3, PC, R3; \"crypto/dso/dso_lib.c\"                     ; +0x60, 0x9f7f00\nBL              ERR_put_error                                          ; +0x64, 0x9f7f04\nMOV             R0, R4                                                 ; +0x68, 0x9f7f08\nADD             SP, SP, #0x10                                          ; +0x6c, 0x9f7f0c\nPOP             {R4,PC}                                                ; +0x70, 0x9f7f10", "xrefs": ["<???> @ 0x7aa6c"], "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"}