{"type": "func", "start": 4297998136, "end": 4297998272, "name": "LevelListLayer::shareCommentClosed", "pseudocode": "// \n// LevelListLayer::shareCommentClosed from 0x1002e3f38 to 0x1002e3fc0 (136 bytes)\n// \n// 2 xrefs:\n// > sub_1002E3FF4 @ 0x1002e3ff8\n// > <???> @ 0x1009239f8\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 11:02:49 +0000\n// \n\nvoid __fastcall LevelListLayer::shareCommentClosed(__int64 a1, __int64 a2)\n{\n  std::string *v2; // x19\n  void *__p[2]; // [xsp+0h] [xbp-40h] BYREF\n  __int64 v4; // [xsp+10h] [xbp-30h]\n  std::string __str; // [xsp+18h] [xbp-28h] BYREF\n\n  v2 = *(std::string **)(a1 + 912);\n  if ( *(char *)(a2 + 23) < 0 )\n  {\n    sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8));\n  }\n  else\n  {\n    *(_OWORD *)__p = *(_OWORD *)a2;\n    v4 = *(_QWORD *)(a2 + 16);\n  }\n  LevelTools::base64EncodeString((__n128 *)__p, (__n128 *)&__str);\n  std::string::operator=(v2 + 21, &__str);\n  if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(__str.__r_.__value_.__l.__data_);\n  if ( SHIBYTE(v4) < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; LevelListLayer::shareCommentClosed from 0x1002e3f38 to 0x1002e3fc0 (136 bytes)\n; \n; 2 xrefs:\n; > sub_1002E3FF4 @ 0x1002e3ff8\n; > <???> @ 0x1009239f8\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 11:02:49 +0000\n; \nSUB             SP, SP, #0x50                                          ; +0x0, 0x1002e3f38\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x4, 0x1002e3f3c\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x8, 0x1002e3f40\nADD             X29, SP, #0x40                                         ; +0xc, 0x1002e3f44\nLDR             X19, [X0,#0x390]                                       ; +0x10, 0x1002e3f48\nLDRSB           W8, [X1,#0x17]                                         ; +0x14, 0x1002e3f4c\nTBNZ            W8, #0x1F, loc_1002E3F68                               ; +0x18, 0x1002e3f50\nLDR             Q0, [X1]                                               ; +0x1c, 0x1002e3f54\nSTR             Q0, [SP,#0x40+__p]                                     ; +0x20, 0x1002e3f58\nLDR             X8, [X1,#0x10]                                         ; +0x24, 0x1002e3f5c\nSTR             X8, [SP,#0x40+var_30]                                  ; +0x28, 0x1002e3f60\nB               loc_1002E3F78                                          ; +0x2c, 0x1002e3f64\nLDP             X8, X2, [X1]                                           ; +0x30, 0x1002e3f68\nMOV             X0, SP; __dst                                          ; +0x34, 0x1002e3f6c\nMOV             X1, X8; __src                                          ; +0x38, 0x1002e3f70\nBL              sub_1000097D0                                          ; +0x3c, 0x1002e3f74\nADD             X8, SP, #0x40+__str                                    ; +0x40, 0x1002e3f78\nMOV             X0, SP                                                 ; +0x44, 0x1002e3f7c\nBL              LevelTools__base64EncodeString                         ; +0x48, 0x1002e3f80\nADD             X0, X19, #0x1F8; this                                  ; +0x4c, 0x1002e3f84\nADD             X1, SP, #0x40+__str; __str                             ; +0x50, 0x1002e3f88\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x54, 0x1002e3f8c\nLDRSB           W8, [SP,#0x40+__str.__r_.__value_+0x17]                ; +0x58, 0x1002e3f90\nTBZ             W8, #0x1F, loc_1002E3FA0                               ; +0x5c, 0x1002e3f94\nLDR             X0, [SP,#0x40+__str]; __p                              ; +0x60, 0x1002e3f98\nBL              __ZdlPv; operator delete(void *)                       ; +0x64, 0x1002e3f9c\nLDRSB           W8, [SP,#0x40+var_30+7]                                ; +0x68, 0x1002e3fa0\nTBZ             W8, #0x1F, loc_1002E3FB0                               ; +0x6c, 0x1002e3fa4\nLDR             X0, [SP,#0x40+__p]; __p                                ; +0x70, 0x1002e3fa8\nBL              __ZdlPv; operator delete(void *)                       ; +0x74, 0x1002e3fac\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x78, 0x1002e3fb0\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x7c, 0x1002e3fb4\nADD             SP, SP, #0x50 ; 'P'                                    ; +0x80, 0x1002e3fb8\nRET                                                                    ; +0x84, 0x1002e3fbc", "xrefs": ["sub_1002E3FF4 @ 0x1002e3ff8", "<???> @ 0x1009239f8"], "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"}