{"type": "func", "start": 7461060, "end": 7461192, "name": "CCURLObject::init", "pseudocode": "// \n// CCURLObject::init from 0x71d8c4 to 0x71d948 (132 bytes)\n// \n// 2 xrefs:\n// > CCURLObject::create @ 0x71da28\n// > <???> @ 0x73ac8\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:52:21 +0000\n// \n\n__int64 __fastcall CCURLObject::init(__int64 a1, __int64 *a2, __int64 a3)\n{\n  __int64 *v4; // x0\n  const void *v6; // x3\n  size_t v7; // x2\n  __int64 *v8; // x0\n\n  v4 = (__int64 *)(a1 + 56);\n  if ( v4 != a2 )\n  {\n    if ( (*(_BYTE *)a2 & 1) != 0 )\n    {\n      v6 = (const void *)a2[2];\n      v7 = a2[1];\n    }\n    else\n    {\n      v6 = (char *)a2 + 1;\n      v7 = *(_BYTE *)a2 >> 1;\n    }\n    std::string::assign(v4, v6, v7);\n  }\n  v8 = (__int64 *)(a1 + 80);\n  if ( a1 + 80 != a3 )\n  {\n    if ( (*(_BYTE *)a3 & 1) != 0 )\n      std::string::assign(v8, *(const void **)(a3 + 16), *(_QWORD *)(a3 + 8));\n    else\n      std::string::assign(v8, (const void *)(a3 + 1), *(_BYTE *)a3 >> 1);\n  }\n  return 1;\n}", "assembly": "; \n; CCURLObject::init from 0x71d8c4 to 0x71d948 (132 bytes)\n; \n; 2 xrefs:\n; > CCURLObject::create @ 0x71da28\n; > <???> @ 0x73ac8\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:52:21 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x71d8c4\nMOV             X29, SP                                                ; +0x4, 0x71d8c8\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x71d8cc\nMOV             X19, X0                                                ; +0xc, 0x71d8d0\nADD             X0, X0, #0x38 ; '8'; int                               ; +0x10, 0x71d8d4\nCMP             X0, X1                                                 ; +0x14, 0x71d8d8\nMOV             X20, X2                                                ; +0x18, 0x71d8dc\nB.EQ            loc_71D8FC                                             ; +0x1c, 0x71d8e0\nLDRB            W2, [X1]                                               ; +0x20, 0x71d8e4\nTBNZ            W2, #0, loc_71D93C                                     ; +0x24, 0x71d8e8\nADD             X3, X1, #1                                             ; +0x28, 0x71d8ec\nUBFX            X2, X2, #1, #7; size_t                                 ; +0x2c, 0x71d8f0\nMOV             X1, X3; int                                            ; +0x30, 0x71d8f4\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm; std::string::assign(char const*,ulong) ; +0x34, 0x71d8f8\nADD             X0, X19, #0x50 ; 'P'; int                              ; +0x38, 0x71d8fc\nCMP             X0, X20                                                ; +0x3c, 0x71d900\nB.EQ            loc_71D91C                                             ; +0x40, 0x71d904\nLDRB            W2, [X20]                                              ; +0x44, 0x71d908\nTBZ             W2, #0, loc_71D92C                                     ; +0x48, 0x71d90c\nLDR             X1, [X20,#0x10]; int                                   ; +0x4c, 0x71d910\nLDR             X2, [X20,#8]; size_t                                   ; +0x50, 0x71d914\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm; std::string::assign(char const*,ulong) ; +0x54, 0x71d918\nMOV             W0, #1                                                 ; +0x58, 0x71d91c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x5c, 0x71d920\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x60, 0x71d924\nRET                                                                    ; +0x64, 0x71d928\nADD             X1, X20, #1; int                                       ; +0x68, 0x71d92c\nUBFX            X2, X2, #1, #7; size_t                                 ; +0x6c, 0x71d930\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm; std::string::assign(char const*,ulong) ; +0x70, 0x71d934\nB               loc_71D91C                                             ; +0x74, 0x71d938\nLDR             X3, [X1,#0x10]                                         ; +0x78, 0x71d93c\nLDR             X2, [X1,#8]                                            ; +0x7c, 0x71d940\nB               loc_71D8F4                                             ; +0x80, 0x71d944", "xrefs": ["CCURLObject::create @ 0x71da28", "<???> @ 0x73ac8"], "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"}