{"type": "func", "start": 7540964, "end": 7541218, "name": "AdminActionConfirmPopup::addHelp", "pseudocode": "// \n// AdminActionConfirmPopup::addHelp from 0x7310e4 to 0x7311e2 (254 bytes)\n// \n// 4 xrefs:\n// > sub_762E34 @ 0x762ea0\n// > AccountBanPopup::onTrendingBan @ 0x7638fe\n// > AccountBanPopup::onNameLock @ 0x763a1a\n// > AccountBanPopup::onQueueMute @ 0x763c1e\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::addHelp(int a1, const char *a2, int a3)\n{\n  size_t v6; // r0\n  _DWORD *v7; // r6\n  const cocos2d::CCPoint *v8; // r10\n  int (__fastcall *v9)(_DWORD *, _BYTE *); // r9\n  float v11[2]; // [sp+4h] [bp-34h] BYREF\n  _BYTE v12[8]; // [sp+Ch] [bp-2Ch] BYREF\n  _BYTE v13[8]; // [sp+14h] [bp-24h] BYREF\n  int v14[3]; // [sp+1Ch] [bp-1Ch] BYREF\n  int v15[3]; // [sp+28h] [bp-10h] BYREF\n\n  cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)a1);\n  cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v11);\n  memset(v14, 0, sizeof(v14));\n  v6 = strlen(a2);\n  std::string::__init(v14, a2, v6);\n  std::string::basic_string(v15, a3);\n  v7 = (_DWORD *)InfoAlertButton::create((char *)v14, (int)v15, 1057971241);\n  std::string::~string((int)v15);\n  std::string::~string((int)v14);\n  v7[104] = 1061997773;\n  (*(void (__fastcall **)(_DWORD, _DWORD *))(**(_DWORD **)(a1 + 444) + 228))(*(_DWORD *)(a1 + 444), v7);\n  v8 = *(const cocos2d::CCPoint **)(a1 + 444);\n  v9 = *(int (__fastcall **)(_DWORD *, _BYTE *))(*v7 + 92);\n  cocos2d::CCPoint::CCPoint(\n    (cocos2d::CCPoint *)v12,\n    (float)((float)(*(float *)(a1 + 556) * 0.5) + (float)(v11[0] * 0.5)) - 18.0,\n    (float)((float)((float)(*(float *)(a1 + 560) * 0.5) + (float)(v11[1] * 0.5)) - 14.0) + *(float *)(a1 + 564));\n  cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v13, v8);\n  return v9(v7, v13);\n}", "assembly": "; \n; AdminActionConfirmPopup::addHelp from 0x7310e4 to 0x7311e2 (254 bytes)\n; \n; 4 xrefs:\n; > sub_762E34 @ 0x762ea0\n; > AccountBanPopup::onTrendingBan @ 0x7638fe\n; > AccountBanPopup::onNameLock @ 0x763a1a\n; > AccountBanPopup::onQueueMute @ 0x763c1e\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-R10,LR}                                            ; +0x0, 0x7310e4\nSUB             SP, SP, #0x38                                          ; +0x4, 0x7310e8\nLDR             R7, =(__stack_chk_guard_ptr - 0x7310F6)                ; +0x6, 0x7310ea\nMOV             R5, R1                                                 ; +0x8, 0x7310ec\nMOV             R6, R2                                                 ; +0xa, 0x7310ee\nMOV             R8, R0                                                 ; +0xc, 0x7310f0\nADD             R7, PC; __stack_chk_guard_ptr                          ; +0xe, 0x7310f2\nLDR             R7, [R7]; __stack_chk_guard                            ; +0x10, 0x7310f4\nADD             R4, SP, #0x38+var_1C                                   ; +0x12, 0x7310f6\nLDR             R3, [R7]                                               ; +0x14, 0x7310f8\nSTR             R3, [SP,#0x38+var_4]                                   ; +0x16, 0x7310fa\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x18, 0x7310fc\nMOV             R1, R0                                                 ; +0x1c, 0x731100\nADD             R0, SP, #0x38+var_34; this                             ; +0x1e, 0x731102\nBL              _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x20, 0x731104\nMOV             R0, R5; char *                                         ; +0x24, 0x731108\nMOVS            R3, #0                                                 ; +0x26, 0x73110a\nSTR             R3, [SP,#0x38+var_1C]                                  ; +0x28, 0x73110c\nSTR             R3, [SP,#0x38+var_18]                                  ; +0x2a, 0x73110e\nSTR             R3, [SP,#0x38+var_14]                                  ; +0x2c, 0x731110\nBLX             strlen                                                 ; +0x2e, 0x731112\nMOV             R1, R5                                                 ; +0x32, 0x731116\nADD             R5, SP, #0x38+var_10                                   ; +0x34, 0x731118\nMOV             R2, R0                                                 ; +0x36, 0x73111a\nMOV             R0, R4                                                 ; +0x38, 0x73111c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x3a, 0x73111e\nMOV             R0, R5                                                 ; +0x3e, 0x731122\nMOV             R1, R6                                                 ; +0x40, 0x731124\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x42, 0x731126\nMOV             R0, R4                                                 ; +0x46, 0x73112a\nMOV             R1, R5                                                 ; +0x48, 0x73112c\nLDR             R2, =0x3F0F5C29                                        ; +0x4a, 0x73112e\nBL              _ZN15InfoAlertButton6createENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_f; InfoAlertButton::create(std::string,std::string,float) ; +0x4c, 0x731130\nMOV             R6, R0                                                 ; +0x50, 0x731134\nMOV             R0, R5                                                 ; +0x52, 0x731136\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x54, 0x731138\nMOV             R0, R4                                                 ; +0x58, 0x73113c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x5a, 0x73113e\nLDR             R3, =0x3F4CCCCD                                        ; +0x5e, 0x731142\nMOV             R1, R6                                                 ; +0x60, 0x731144\nADD             R4, SP, #0x38+var_2C                                   ; +0x62, 0x731146\nADD             R5, SP, #0x38+var_24                                   ; +0x64, 0x731148\nSTR.W           R3, [R6,#0x1A0]                                        ; +0x66, 0x73114a\nLDR.W           R0, [R8,#0x1BC]                                        ; +0x6a, 0x73114e\nLDR             R3, [R0]                                               ; +0x6e, 0x731152\nLDR.W           R3, [R3,#0xE4]                                         ; +0x70, 0x731154\nBLX             R3                                                     ; +0x74, 0x731158\nVMOV.F32        S13, #0.5                                              ; +0x76, 0x73115a\nVLDR            S14, [R8,#0x22C]                                       ; +0x7a, 0x73115e\nMOV             R0, R4; this                                           ; +0x7e, 0x731162\nLDR             R3, [R6]                                               ; +0x80, 0x731164\nLDR.W           R10, [R8,#0x1BC]                                       ; +0x82, 0x731166\nVLDR            S15, [SP,#0x38+var_34]                                 ; +0x86, 0x73116a\nLDR.W           R9, [R3,#0x5C]                                         ; +0x8a, 0x73116e\nVLDR            S12, [SP,#0x38+var_30]                                 ; +0x8e, 0x731172\nVMUL.F32        S14, S14, S13                                          ; +0x92, 0x731176\nVMLA.F32        S14, S15, S13                                          ; +0x96, 0x73117a\nVLDR            S15, [R8,#0x230]                                       ; +0x9a, 0x73117e\nVMUL.F32        S15, S15, S13                                          ; +0x9e, 0x731182\nVMLA.F32        S15, S12, S13                                          ; +0xa2, 0x731186\nVMOV.F32        S13, #14.0                                             ; +0xa6, 0x73118a\nVMOV.F32        S12, #18.0                                             ; +0xaa, 0x73118e\nVSUB.F32        S15, S15, S13                                          ; +0xae, 0x731192\nVLDR            S13, [R8,#0x234]                                       ; +0xb2, 0x731196\nVSUB.F32        S14, S14, S12                                          ; +0xb6, 0x73119a\nVADD.F32        S15, S15, S13                                          ; +0xba, 0x73119e\nVMOV            R1, S14; float                                         ; +0xbe, 0x7311a2\nVMOV            R2, S15; float                                         ; +0xc2, 0x7311a6\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xc6, 0x7311aa\nMOV             R2, R4                                                 ; +0xca, 0x7311ae\nMOV             R0, R5; this                                           ; +0xcc, 0x7311b0\nMOV             R1, R10; cocos2d::CCPoint *                            ; +0xce, 0x7311b2\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0xd0, 0x7311b4\nMOV             R0, R6                                                 ; +0xd4, 0x7311b8\nMOV             R1, R5                                                 ; +0xd6, 0x7311ba\nBLX             R9                                                     ; +0xd8, 0x7311bc\nLDR             R2, [SP,#0x38+var_4]                                   ; +0xda, 0x7311be\nLDR             R3, [R7]                                               ; +0xdc, 0x7311c0\nCMP             R2, R3                                                 ; +0xde, 0x7311c2\nBEQ             loc_7311DC                                             ; +0xe0, 0x7311c4\nBLX             __stack_chk_fail                                       ; +0xe2, 0x7311c6\nMOV             R0, R5                                                 ; +0xe6, 0x7311ca\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xe8, 0x7311cc\nB               loc_7311D2                                             ; +0xec, 0x7311d0\nMOV             R0, R4                                                 ; +0xee, 0x7311d2\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xf0, 0x7311d4\nBL              __cxa_end_cleanup                                      ; +0xf4, 0x7311d8\nADD             SP, SP, #0x38 ; '8'                                    ; +0xf8, 0x7311dc\nPOP.W           {R4-R10,PC}                                            ; +0xfa, 0x7311de", "xrefs": ["sub_762E34 @ 0x762ea0", "AccountBanPopup::onTrendingBan @ 0x7638fe", "AccountBanPopup::onNameLock @ 0x763a1a", "AccountBanPopup::onQueueMute @ 0x763c1e"], "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"}