{"type": "func", "start": 7544148, "end": 7544454, "name": "AdminActionConfirmPopup::createContentDelete", "pseudocode": "// \n// AdminActionConfirmPopup::createContentDelete from 0x731d54 to 0x731e86 (306 bytes)\n// \n// 3 xrefs:\n// > LevelInfoLayer::confirmOwnerDelete @ 0x49b006\n// > LevelListLayer::confirmOwnerDelete @ 0x6d5f82\n// > EditorSoundConfigInfoLayer::onDeleteServer @ 0x785ab4\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 11:58:20 +0000\n// \n\nint __fastcall AdminActionConfirmPopup::createContentDelete(\n        int a1,\n        int a2,\n        const char *a3,\n        unsigned __int8 *a4,\n        int a5)\n{\n  int v7; // r6\n  size_t v10; // r6\n  char *v11; // r3\n  const void *v12; // r1\n  _DWORD *v13; // r0\n  int v14; // r1\n  int v15; // r2\n  int v16; // r5\n  char *v18; // [sp+14h] [bp-30h]\n  _DWORD v19[3]; // [sp+18h] [bp-2Ch] BYREF\n  char *v20[3]; // [sp+24h] [bp-20h] BYREF\n  unsigned int v21; // [sp+30h] [bp-14h] BYREF\n  int v22; // [sp+34h] [bp-10h]\n  char *v23; // [sp+38h] [bp-Ch]\n\n  v7 = *a4;\n  if ( (v7 & 1) != 0 )\n    v10 = *((_DWORD *)a4 + 1);\n  else\n    v10 = v7 >> 1;\n  v21 = 0;\n  v22 = 0;\n  v23 = nullptr;\n  if ( v10 + 11 > 0xFFFFFFEF )\n    sub_38A690();\n  if ( v10 + 11 > 0xA )\n  {\n    v11 = (char *)operator new((v10 + 27) & 0xFFFFFFF0);\n    v23 = v11;\n    v21 = (v10 + 27) & 0xFFFFFFF0 | 1;\n    v22 = 11;\n  }\n  else\n  {\n    LOBYTE(v21) = 22;\n    v11 = (char *)&v21 + 1;\n  }\n  v18 = v11;\n  std::char_traits<char>::copy(v11, \"Delete <cg>\", 0xBu);\n  v18[11] = 0;\n  if ( (*a4 & 1) != 0 )\n    v12 = *((const void **)a4 + 2);\n  else\n    v12 = a4 + 1;\n  std::string::append(&v21, v12, v10);\n  v13 = std::string::append(&v21, \"</c> from the server?\\n<cy>(It will no longer be available online)</c>\", 0x45u);\n  v14 = v13[1];\n  v15 = v13[2];\n  v19[0] = *v13;\n  v19[1] = v14;\n  v19[2] = v15;\n  *v13 = 0;\n  v13[1] = 0;\n  v13[2] = 0;\n  std::string::~string((int)&v21);\n  ReportPopup::reasonIndicesForType((ReportPopup *)v20, a5);\n  v21 = 0;\n  v22 = 0;\n  v23 = nullptr;\n  std::string::__init((int *)&v21, &unk_B6B226, 0);\n  v16 = AdminActionConfirmPopup::create(a1, a2, a3, (int)v19, (ButtonSprite *)\"Delete\", v20, (unsigned __int8 *)&v21, 1);\n  std::string::~string((int)&v21);\n  std::__vector_base<int>::~__vector_base(v20);\n  std::string::~string((int)v19);\n  return v16;\n}", "assembly": "; \n; AdminActionConfirmPopup::createContentDelete from 0x731d54 to 0x731e86 (306 bytes)\n; \n; 3 xrefs:\n; > LevelInfoLayer::confirmOwnerDelete @ 0x49b006\n; > LevelListLayer::confirmOwnerDelete @ 0x6d5f82\n; > EditorSoundConfigInfoLayer::onDeleteServer @ 0x785ab4\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 11:58:20 +0000\n; \nPUSH.W          {R4-R11,LR}                                            ; +0x0, 0x731d54\nMOV             R5, R3                                                 ; +0x4, 0x731d58\nLDR             R7, =(__stack_chk_guard_ptr - 0x731D66)                ; +0x6, 0x731d5a\nMOV             R9, R2                                                 ; +0x8, 0x731d5c\nLDRB            R6, [R5]                                               ; +0xa, 0x731d5e\nSUB             SP, SP, #0x44                                          ; +0xc, 0x731d60\nADD             R7, PC; __stack_chk_guard_ptr                          ; +0xe, 0x731d62\nLDR             R7, [R7]; __stack_chk_guard                            ; +0x10, 0x731d64\nMOV             R11, R0                                                ; +0x12, 0x731d66\nLSLS            R2, R6, #0x1F                                          ; +0x14, 0x731d68\nMOV             R10, R1                                                ; +0x16, 0x731d6a\nLDR             R3, [R7]                                               ; +0x18, 0x731d6c\nITE PL                                                                 ; +0x1a, 0x731d6e\nASRPL           R6, R6, #1                                             ; +0x1c, 0x731d70\nLDRMI           R6, [R5,#4]                                            ; +0x1e, 0x731d72\nADD             R4, SP, #0x44+var_14                                   ; +0x20, 0x731d74\nSTR             R3, [SP,#0x44+var_8]                                   ; +0x22, 0x731d76\nMOVS            R3, #0                                                 ; +0x24, 0x731d78\nSTR             R3, [SP,#0x44+var_14]                                  ; +0x26, 0x731d7a\nSTR             R3, [SP,#0x44+var_10]                                  ; +0x28, 0x731d7c\nSTR             R3, [SP,#0x44+var_C]                                   ; +0x2a, 0x731d7e\nADD.W           R3, R6, #0xB                                           ; +0x2c, 0x731d80\nCMN.W           R3, #0x11                                              ; +0x30, 0x731d84\nBLS             loc_731D8E                                             ; +0x34, 0x731d88\nBL              sub_38A690                                             ; +0x36, 0x731d8a\nCMP             R3, #0xA                                               ; +0x3a, 0x731d8e\nBHI             loc_731D9E                                             ; +0x3c, 0x731d90\nMOVS            R3, #0x16                                              ; +0x3e, 0x731d92\nSTRB.W          R3, [SP,#0x44+var_14]                                  ; +0x40, 0x731d94\nADD.W           R3, SP, #0x44+var_14+1                                 ; +0x44, 0x731d98\nB               loc_731DBA                                             ; +0x48, 0x731d9c\nADD.W           R8, R6, #0x1B                                          ; +0x4a, 0x731d9e\nBIC.W           R8, R8, #0xF                                           ; +0x4e, 0x731da2\nMOV             R0, R8; unsigned int                                   ; +0x52, 0x731da6\nBL              _Znwj; operator new(uint)                              ; +0x54, 0x731da8\nMOV             R3, R0                                                 ; +0x58, 0x731dac\nORR.W           R2, R8, #1                                             ; +0x5a, 0x731dae\nSTR             R0, [SP,#0x44+var_C]                                   ; +0x5e, 0x731db2\nSTR             R2, [SP,#0x44+var_14]                                  ; +0x60, 0x731db4\nMOVS            R2, #0xB                                               ; +0x62, 0x731db6\nSTR             R2, [SP,#0x44+var_10]                                  ; +0x64, 0x731db8\nLDR             R1, =(aDeleteCg - 0x731DC6); \"Delete <cg>\"             ; +0x66, 0x731dba\nMOV             R0, R3                                                 ; +0x68, 0x731dbc\nMOVS            R2, #0xB                                               ; +0x6a, 0x731dbe\nSTR             R3, [SP,#0x44+var_30]                                  ; +0x6c, 0x731dc0\nADD             R1, PC; \"Delete <cg>\"                                  ; +0x6e, 0x731dc2\nBL              _ZNSt6__ndk111char_traitsIcE4copyEPcPKcj; std::char_traits<char>::copy(char *,char const*,uint) ; +0x70, 0x731dc4\nLDR             R3, [SP,#0x44+var_30]                                  ; +0x74, 0x731dc8\nMOVS            R2, #0                                                 ; +0x76, 0x731dca\nMOV             R0, R4                                                 ; +0x78, 0x731dcc\nSTRB            R2, [R3,#0xB]                                          ; +0x7a, 0x731dce\nMOV             R2, R6                                                 ; +0x7c, 0x731dd0\nLDRB            R3, [R5]                                               ; +0x7e, 0x731dd2\nLSLS            R3, R3, #0x1F                                          ; +0x80, 0x731dd4\nITE PL                                                                 ; +0x82, 0x731dd6\nADDPL           R1, R5, #1                                             ; +0x84, 0x731dd8\nLDRMI           R1, [R5,#8]                                            ; +0x86, 0x731dda\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcj; std::string::append(char const*,uint) ; +0x88, 0x731ddc\nB               loc_731DE4                                             ; +0x8c, 0x731de0\nB               loc_731E62                                             ; +0x8e, 0x731de2\nLDR             R1, =(aCFromTheServer - 0x731DEE); \"</c> from the server?\\n<cy>(It will no \"... ; +0x90, 0x731de4\nMOV             R0, R4                                                 ; +0x92, 0x731de6\nMOVS            R2, #0x45 ; 'E'                                        ; +0x94, 0x731de8\nADD             R1, PC; \"</c> from the server?\\n<cy>(It will no \"...   ; +0x96, 0x731dea\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcj; std::string::append(char const*,uint) ; +0x98, 0x731dec\nMOV             R3, R0                                                 ; +0x9c, 0x731df0\nADD             R6, SP, #0x44+var_2C                                   ; +0x9e, 0x731df2\nLDM             R0, {R0-R2}                                            ; +0xa0, 0x731df4\nADD.W           R8, SP, #0x44+var_20                                   ; +0xa2, 0x731df6\nMOVS            R5, #0                                                 ; +0xa6, 0x731dfa\nSTM.W           R6, {R0-R2}                                            ; +0xa8, 0x731dfc\nMOV             R0, R4                                                 ; +0xac, 0x731e00\nSTR             R5, [R3]                                               ; +0xae, 0x731e02\nSTR             R5, [R3,#4]                                            ; +0xb0, 0x731e04\nSTR             R5, [R3,#8]                                            ; +0xb2, 0x731e06\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xb4, 0x731e08\nMOV             R0, R8; this                                           ; +0xb8, 0x731e0c\nLDR             R1, [SP,#0x44+arg_0]; int                              ; +0xba, 0x731e0e\nBL              _ZN11ReportPopup20reasonIndicesForTypeEi; ReportPopup::reasonIndicesForType(int) ; +0xbc, 0x731e10\nLDR             R1, =(unk_B6B226 - 0x731E20)                           ; +0xc0, 0x731e14\nMOV             R0, R4                                                 ; +0xc2, 0x731e16\nMOV             R2, R5                                                 ; +0xc4, 0x731e18\nSTR             R5, [SP,#0x44+var_14]                                  ; +0xc6, 0x731e1a\nADD             R1, PC; unk_B6B226                                     ; +0xc8, 0x731e1c\nSTR             R5, [SP,#0x44+var_10]                                  ; +0xca, 0x731e1e\nSTR             R5, [SP,#0x44+var_C]                                   ; +0xcc, 0x731e20\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xce, 0x731e22\nLDR             R3, =(aDelete - 0x731E32); \"Delete\"                    ; +0xd2, 0x731e26\nMOV             R0, R11                                                ; +0xd4, 0x731e28\nSTR             R4, [SP,#0x44+var_3C]                                  ; +0xd6, 0x731e2a\nMOV             R1, R10                                                ; +0xd8, 0x731e2c\nADD             R3, PC; \"Delete\"                                       ; +0xda, 0x731e2e\nMOV             R2, R9                                                 ; +0xdc, 0x731e30\nSTMEA.W         SP, {R3,R8}                                            ; +0xde, 0x731e32\nMOVS            R3, #1                                                 ; +0xe2, 0x731e36\nSTR             R3, [SP,#0x44+var_38]                                  ; +0xe4, 0x731e38\nMOV             R3, R6                                                 ; +0xe6, 0x731e3a\nBL              _ZN23AdminActionConfirmPopup6createEP26AdminActionConfirmDelegateiPKcRKNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_RKNS4_6vectorIiNS8_IiEEEESC_b; AdminActionConfirmPopup::create(AdminActionConfirmDelegate *,int,char const*,std::string const&,char const*,std::vector<int> const&,std::string const&,bool) ; +0xe8, 0x731e3c\nMOV             R5, R0                                                 ; +0xec, 0x731e40\nMOV             R0, R4                                                 ; +0xee, 0x731e42\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xf0, 0x731e44\nMOV             R0, R8                                                 ; +0xf4, 0x731e48\nBL              _ZNSt6__ndk113__vector_baseIiNS_9allocatorIiEEED2Ev; std::__vector_base<int>::~__vector_base() ; +0xf6, 0x731e4a\nMOV             R0, R6                                                 ; +0xfa, 0x731e4e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xfc, 0x731e50\nLDR             R2, [SP,#0x44+var_8]                                   ; +0x100, 0x731e54\nLDR             R3, [R7]                                               ; +0x102, 0x731e56\nMOV             R0, R5                                                 ; +0x104, 0x731e58\nCMP             R2, R3                                                 ; +0x106, 0x731e5a\nBEQ             loc_731E80                                             ; +0x108, 0x731e5c\nBLX             __stack_chk_fail                                       ; +0x10a, 0x731e5e\nMOV             R0, R4                                                 ; +0x10e, 0x731e62\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x110, 0x731e64\nBL              __cxa_end_cleanup                                      ; +0x114, 0x731e68\nMOV             R0, R4                                                 ; +0x118, 0x731e6c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x11a, 0x731e6e\nB               loc_731E74                                             ; +0x11e, 0x731e72\nMOV             R0, R8                                                 ; +0x120, 0x731e74\nBL              _ZNSt6__ndk113__vector_baseIiNS_9allocatorIiEEED2Ev; std::__vector_base<int>::~__vector_base() ; +0x122, 0x731e76\nB               loc_731E7C                                             ; +0x126, 0x731e7a\nMOV             R0, R6                                                 ; +0x128, 0x731e7c\nB               loc_731E64                                             ; +0x12a, 0x731e7e\nADD             SP, SP, #0x44 ; 'D'                                    ; +0x12c, 0x731e80\nPOP.W           {R4-R11,PC}                                            ; +0x12e, 0x731e82", "xrefs": ["LevelInfoLayer::confirmOwnerDelete @ 0x49b006", "LevelListLayer::confirmOwnerDelete @ 0x6d5f82", "EditorSoundConfigInfoLayer::onDeleteServer @ 0x785ab4"], "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"}