; ; AccountBanPopup::onMessageBan from 0x1400a83d0 to 0x1400a853f (367 bytes) ; ; 2 xrefs: ; > AccountBanPopup::init @ 0x1400a7129 ; > @ 0x14091328c ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:26:09 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x1400a83d0 mov [rsp+arg_10], rsi ; +0x5, 0x1400a83d5 push rdi ; +0xa, 0x1400a83da sub rsp, 70h ; +0xb, 0x1400a83db mov rax, cs:__security_cookie ; +0xf, 0x1400a83df xor rax, rsp ; +0x16, 0x1400a83e6 mov [rsp+78h+var_10], rax ; +0x19, 0x1400a83e9 mov rdi, rcx ; +0x1e, 0x1400a83ee mov rax, [rcx+460h] ; +0x21, 0x1400a83f1 xor esi, esi ; +0x28, 0x1400a83f8 test rax, rax ; +0x2a, 0x1400a83fa jz short loc_1400A8407 ; +0x2d, 0x1400a83fd mov eax, [rax+180h] ; +0x2f, 0x1400a83ff jmp short loc_1400A8409 ; +0x35, 0x1400a8405 mov eax, esi ; +0x37, 0x1400a8407 xorps xmm0, xmm0 ; +0x39, 0x1400a8409 movups xmmword ptr [rsp+78h+Block], xmm0 ; +0x3c, 0x1400a840c movdqa xmm1, cs:Size ; +0x41, 0x1400a8411 movdqu [rsp+78h+var_20], xmm1 ; +0x49, 0x1400a8419 mov byte ptr [rsp+78h+Block], sil ; +0x4f, 0x1400a841f lea rdx, [rcx+410h] ; +0x54, 0x1400a8424 mov rcx, [rdx+18h] ; +0x5b, 0x1400a842b cmp eax, 0Ch ; +0x5f, 0x1400a842f jnz short loc_1400A844C ; +0x62, 0x1400a8432 cmp rcx, 0Fh ; +0x64, 0x1400a8434 jbe short loc_1400A843D ; +0x68, 0x1400a8438 mov rdx, [rdx] ; +0x6a, 0x1400a843a lea rcx, aApplyACrPerman_1; "Apply a permanent message ban t"... ; +0x6d, 0x1400a843d call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x74, 0x1400a8444 jmp short loc_1400A8470 ; +0x7a, 0x1400a844a cmp rcx, 0Fh ; +0x7c, 0x1400a844c jbe short loc_1400A8455 ; +0x80, 0x1400a8450 mov rdx, [rdx] ; +0x82, 0x1400a8452 movsxd r8, eax ; +0x85, 0x1400a8455 lea rax, off_140702D30; "1 Hour" ; +0x88, 0x1400a8458 mov r8, [rax+r8*8] ; +0x8f, 0x1400a845f lea rcx, aBanCgSCFromMes; "Ban %s from messages and friend"... ; +0x93, 0x1400a8463 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x9a, 0x1400a846a mov rcx, rax ; +0xa0, 0x1400a8470 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xa3, 0x1400a8473 mov r8, 0FFFFFFFFFFFFFFFFh ; +0xa9, 0x1400a8479 inc r8; Size ; +0xb0, 0x1400a8480 cmp byte ptr [rax+r8], 0 ; +0xb3, 0x1400a8483 jnz short loc_1400A8480 ; +0xb8, 0x1400a8488 mov rdx, rax; Src ; +0xba, 0x1400a848a lea rcx, [rsp+78h+Block]; void * ; +0xbd, 0x1400a848d call sub_1400405A0 ; +0xc2, 0x1400a8492 lea rbx, [rdi+400h] ; +0xc7, 0x1400a8497 test rdi, rdi ; +0xce, 0x1400a849e cmovz rbx, rsi ; +0xd1, 0x1400a84a1 lea rcx, [rsp+78h+var_48] ; +0xd5, 0x1400a84a5 call ReportPopup__reasonIndicesForTextModeration ; +0xda, 0x1400a84aa nop ; +0xdf, 0x1400a84af mov r9, rax ; +0xe0, 0x1400a84b0 lea r8, [rsp+78h+Block] ; +0xe3, 0x1400a84b3 mov edx, 5 ; +0xe8, 0x1400a84b8 mov rcx, rbx ; +0xed, 0x1400a84bd call sub_1400A6720 ; +0xf0, 0x1400a84c0 nop ; +0xf5, 0x1400a84c5 lea rcx, [rsp+78h+var_48] ; +0xf6, 0x1400a84c6 call sub_140069730 ; +0xfb, 0x1400a84cb nop ; +0x100, 0x1400a84d0 mov rdx, qword ptr [rsp+78h+var_20+8] ; +0x101, 0x1400a84d1 cmp rdx, 0Fh ; +0x106, 0x1400a84d6 jbe short loc_1400A8520 ; +0x10a, 0x1400a84da inc rdx ; +0x10c, 0x1400a84dc mov rcx, [rsp+78h+Block]; Block ; +0x10f, 0x1400a84df mov rax, rcx ; +0x114, 0x1400a84e4 cmp rdx, 1000h ; +0x117, 0x1400a84e7 jb short loc_1400A851B ; +0x11e, 0x1400a84ee add rdx, 27h ; ''' ; +0x120, 0x1400a84f0 mov rcx, [rcx-8] ; +0x124, 0x1400a84f4 sub rax, rcx ; +0x128, 0x1400a84f8 sub rax, 8 ; +0x12b, 0x1400a84fb cmp rax, 1Fh ; +0x12f, 0x1400a84ff jbe short loc_1400A851B ; +0x133, 0x1400a8503 mov [rsp+78h+Reserved], rsi; Reserved ; +0x135, 0x1400a8505 xor r9d, r9d; LineNo ; +0x13a, 0x1400a850a xor r8d, r8d; FileName ; +0x13d, 0x1400a850d xor edx, edx; FunctionName ; +0x140, 0x1400a8510 xor ecx, ecx; Expression ; +0x142, 0x1400a8512 call cs:_invoke_watson ; +0x144, 0x1400a8514 db 0CCh ; +0x14a, 0x1400a851a call j_j_free ; +0x14b, 0x1400a851b mov rcx, [rsp+78h+var_10] ; +0x150, 0x1400a8520 xor rcx, rsp; StackCookie ; +0x155, 0x1400a8525 call __security_check_cookie ; +0x158, 0x1400a8528 lea r11, [rsp+78h+var_8] ; +0x15d, 0x1400a852d mov rbx, [r11+18h] ; +0x162, 0x1400a8532 mov rsi, [r11+20h] ; +0x166, 0x1400a8536 mov rsp, r11 ; +0x16a, 0x1400a853a pop rdi ; +0x16d, 0x1400a853d retn ; +0x16e, 0x1400a853e