{"type": "func", "start": 7746976, "end": 7747184, "name": "AccountBanPopup::onLevelUploadUnban", "pseudocode": "// \n// AccountBanPopup::onLevelUploadUnban from 0x7635a0 to 0x763670 (208 bytes)\n// \n// 0 xrefs:\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:59:06 +0000\n// \n\nint __fastcall AccountBanPopup::onLevelUploadUnban(AccountBanPopup *this, cocos2d::CCObject *a2)\n{\n  char *v2; // r5\n  cocos2d::CCString *v3; // r0\n  const char *CString; // r7\n  size_t v5; // r0\n  int v6; // r0\n  int v8[3]; // [sp+10h] [bp-2Ch] BYREF\n  char *v9[3]; // [sp+1Ch] [bp-20h] BYREF\n  int v10[3]; // [sp+28h] [bp-14h] BYREF\n\n  v2 = (char *)this + 724;\n  if ( (*((_BYTE *)this + 732) & 1) != 0 )\n    v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                                (cocos2d::CCString *)\"Lift <cg>all</c> level upload bans (permanent and temporary) for <cg>%s</c>?\",\n                                *((const char **)this + 185));\n  else\n    v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                                (cocos2d::CCString *)\"Lift <cg>all</c> level upload bans (permanent and temporary) for <cg>%s</c>?\",\n                                (const char *)this + 733);\n  memset(v8, 0, sizeof(v8));\n  CString = (const char *)cocos2d::CCString::getCString(v3);\n  v5 = strlen(CString);\n  std::string::__init(v8, CString, v5);\n  memset(v9, 0, sizeof(v9));\n  memset(v10, 0, sizeof(v10));\n  std::string::__init(v10, &unk_B6B226, 0);\n  v6 = AdminActionConfirmPopup::create(\n         (int)v2,\n         4,\n         \"Confirm Unban\",\n         (int)v8,\n         (ButtonSprite *)\"Unban\",\n         v9,\n         (unsigned __int8 *)v10,\n         1);\n  (*(void (__fastcall **)(int))(*(_DWORD *)v6 + 656))(v6);\n  std::string::~string((int)v10);\n  std::__vector_base<int>::~__vector_base(v9);\n  return std::string::~string((int)v8);\n}", "assembly": "; \n; AccountBanPopup::onLevelUploadUnban from 0x7635a0 to 0x763670 (208 bytes)\n; \n; 0 xrefs:\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:59:06 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x7635AA)                ; +0x0, 0x7635a0\nPUSH.W          {R4-R9,LR}                                             ; +0x2, 0x7635a2\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x7635a6\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x7635a8\nSUB             SP, SP, #0x3C                                          ; +0xa, 0x7635aa\nMOV             R5, R0                                                 ; +0xc, 0x7635ac\nLDR             R2, [R3]                                               ; +0xe, 0x7635ae\nMOV             R8, R3                                                 ; +0x10, 0x7635b0\nMOVS            R4, #0                                                 ; +0x12, 0x7635b2\nADD             R6, SP, #0x3C+var_2C                                   ; +0x14, 0x7635b4\nADD.W           R5, R5, #0x2D4                                         ; +0x16, 0x7635b6\nADD.W           R9, SP, #0x3C+var_20                                   ; +0x1a, 0x7635ba\nSTR             R2, [SP,#0x3C+var_8]                                   ; +0x1e, 0x7635be\nLDRB.W          R2, [R0,#0x2DC]                                        ; +0x20, 0x7635c0\nTST.W           R2, #1                                                 ; +0x24, 0x7635c4\nITE EQ                                                                 ; +0x28, 0x7635c8\nADDWEQ          R1, R0, #0x2DD                                         ; +0x2a, 0x7635ca\nLDRNE.W         R1, [R0,#0x2E4]; char *                                ; +0x2e, 0x7635ce\nLDR             R0, =(aLiftCgAllCLeve - 0x7635D8); \"Lift <cg>all</c> level upload bans (per\"... ; +0x32, 0x7635d2\nADD             R0, PC; \"Lift <cg>all</c> level upload bans (per\"...   ; +0x34, 0x7635d4\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x36, 0x7635d6\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x3a, 0x7635da\nSTR             R4, [SP,#0x3C+var_2C]                                  ; +0x3e, 0x7635de\nSTR             R4, [SP,#0x3C+var_28]                                  ; +0x40, 0x7635e0\nSTR             R4, [SP,#0x3C+var_24]                                  ; +0x42, 0x7635e2\nMOV             R7, R0                                                 ; +0x44, 0x7635e4\nBLX             strlen                                                 ; +0x46, 0x7635e6\nMOV             R1, R7                                                 ; +0x4a, 0x7635ea\nADD             R7, SP, #0x3C+var_14                                   ; +0x4c, 0x7635ec\nMOV             R2, R0                                                 ; +0x4e, 0x7635ee\nMOV             R0, R6                                                 ; +0x50, 0x7635f0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x52, 0x7635f2\nLDR             R1, =(unk_B6B226 - 0x763600)                           ; +0x56, 0x7635f6\nMOV             R0, R7                                                 ; +0x58, 0x7635f8\nMOV             R2, R4                                                 ; +0x5a, 0x7635fa\nADD             R1, PC; unk_B6B226                                     ; +0x5c, 0x7635fc\nSTR             R4, [SP,#0x3C+var_20]                                  ; +0x5e, 0x7635fe\nSTR             R4, [SP,#0x3C+var_1C]                                  ; +0x60, 0x763600\nSTR             R4, [SP,#0x3C+var_18]                                  ; +0x62, 0x763602\nSTR             R4, [SP,#0x3C+var_14]                                  ; +0x64, 0x763604\nSTR             R4, [SP,#0x3C+var_10]                                  ; +0x66, 0x763606\nSTR             R4, [SP,#0x3C+var_C]                                   ; +0x68, 0x763608\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x6a, 0x76360a\nLDR             R3, =(aUnban - 0x76361A); \"Unban\"                      ; +0x6e, 0x76360e\nMOV             R0, R5                                                 ; +0x70, 0x763610\nLDR             R2, =(aConfirmUnban - 0x763622); \"Confirm Unban\"       ; +0x72, 0x763612\nMOVS            R1, #4                                                 ; +0x74, 0x763614\nADD             R3, PC; \"Unban\"                                        ; +0x76, 0x763616\nSTR             R7, [SP,#0x3C+var_34]                                  ; +0x78, 0x763618\nSTMEA.W         SP, {R3,R9}                                            ; +0x7a, 0x76361a\nADD             R2, PC; \"Confirm Unban\"                                ; +0x7e, 0x76361e\nMOVS            R3, #1                                                 ; +0x80, 0x763620\nSTR             R3, [SP,#0x3C+var_30]                                  ; +0x82, 0x763622\nMOV             R3, R6                                                 ; +0x84, 0x763624\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) ; +0x86, 0x763626\nLDR             R3, [R0]                                               ; +0x8a, 0x76362a\nLDR.W           R3, [R3,#0x290]                                        ; +0x8c, 0x76362c\nBLX             R3                                                     ; +0x90, 0x763630\nMOV             R0, R7                                                 ; +0x92, 0x763632\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x94, 0x763634\nMOV             R0, R9                                                 ; +0x98, 0x763638\nBL              _ZNSt6__ndk113__vector_baseIiNS_9allocatorIiEEED2Ev; std::__vector_base<int>::~__vector_base() ; +0x9a, 0x76363a\nMOV             R0, R6                                                 ; +0x9e, 0x76363e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xa0, 0x763640\nLDR             R2, [SP,#0x3C+var_8]                                   ; +0xa4, 0x763644\nLDR.W           R3, [R8]                                               ; +0xa6, 0x763646\nCMP             R2, R3                                                 ; +0xaa, 0x76364a\nBEQ             loc_76366A                                             ; +0xac, 0x76364c\nBLX             __stack_chk_fail                                       ; +0xae, 0x76364e\nMOV             R0, R7                                                 ; +0xb2, 0x763652\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xb4, 0x763654\nB               loc_76365A                                             ; +0xb8, 0x763658\nMOV             R0, R9                                                 ; +0xba, 0x76365a\nBL              _ZNSt6__ndk113__vector_baseIiNS_9allocatorIiEEED2Ev; std::__vector_base<int>::~__vector_base() ; +0xbc, 0x76365c\nMOV             R0, R6                                                 ; +0xc0, 0x763660\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xc2, 0x763662\nBL              __cxa_end_cleanup                                      ; +0xc6, 0x763666\nADD             SP, SP, #0x3C ; '<'                                    ; +0xca, 0x76366a\nPOP.W           {R4-R9,PC}                                             ; +0xcc, 0x76366c", "xrefs": [], "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"}