; ; AccountBanPopup::onLevelUploadBan from 0x1400a7e20 to 0x1400a7f8f (367 bytes) ; ; 2 xrefs: ; > AccountBanPopup::init @ 0x1400a70cb ; > @ 0x140913268 ; ; 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:08 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x1400a7e20 mov [rsp+arg_10], rsi ; +0x5, 0x1400a7e25 push rdi ; +0xa, 0x1400a7e2a sub rsp, 70h ; +0xb, 0x1400a7e2b mov rax, cs:__security_cookie ; +0xf, 0x1400a7e2f xor rax, rsp ; +0x16, 0x1400a7e36 mov [rsp+78h+var_10], rax ; +0x19, 0x1400a7e39 mov rdi, rcx ; +0x1e, 0x1400a7e3e mov rax, [rcx+458h] ; +0x21, 0x1400a7e41 xor esi, esi ; +0x28, 0x1400a7e48 test rax, rax ; +0x2a, 0x1400a7e4a jz short loc_1400A7E57 ; +0x2d, 0x1400a7e4d mov eax, [rax+180h] ; +0x2f, 0x1400a7e4f jmp short loc_1400A7E59 ; +0x35, 0x1400a7e55 mov eax, esi ; +0x37, 0x1400a7e57 xorps xmm0, xmm0 ; +0x39, 0x1400a7e59 movups xmmword ptr [rsp+78h+Block], xmm0 ; +0x3c, 0x1400a7e5c movdqa xmm1, cs:Size ; +0x41, 0x1400a7e61 movdqu [rsp+78h+var_20], xmm1 ; +0x49, 0x1400a7e69 mov byte ptr [rsp+78h+Block], sil ; +0x4f, 0x1400a7e6f lea rdx, [rcx+410h] ; +0x54, 0x1400a7e74 mov rcx, [rdx+18h] ; +0x5b, 0x1400a7e7b cmp eax, 0Ch ; +0x5f, 0x1400a7e7f jnz short loc_1400A7E9C ; +0x62, 0x1400a7e82 cmp rcx, 0Fh ; +0x64, 0x1400a7e84 jbe short loc_1400A7E8D ; +0x68, 0x1400a7e88 mov rdx, [rdx] ; +0x6a, 0x1400a7e8a lea rcx, aApplyACrPerman_0; "Apply a permanent level upload "... ; +0x6d, 0x1400a7e8d call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x74, 0x1400a7e94 jmp short loc_1400A7EC0 ; +0x7a, 0x1400a7e9a cmp rcx, 0Fh ; +0x7c, 0x1400a7e9c jbe short loc_1400A7EA5 ; +0x80, 0x1400a7ea0 mov rdx, [rdx] ; +0x82, 0x1400a7ea2 movsxd r8, eax ; +0x85, 0x1400a7ea5 lea rax, off_140702D30; "1 Hour" ; +0x88, 0x1400a7ea8 mov r8, [rax+r8*8] ; +0x8f, 0x1400a7eaf lea rcx, aBanCgSCFromUpl; "Ban %s from uploading levels fo"... ; +0x93, 0x1400a7eb3 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x9a, 0x1400a7eba mov rcx, rax ; +0xa0, 0x1400a7ec0 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xa3, 0x1400a7ec3 mov r8, 0FFFFFFFFFFFFFFFFh ; +0xa9, 0x1400a7ec9 inc r8; Size ; +0xb0, 0x1400a7ed0 cmp byte ptr [rax+r8], 0 ; +0xb3, 0x1400a7ed3 jnz short loc_1400A7ED0 ; +0xb8, 0x1400a7ed8 mov rdx, rax; Src ; +0xba, 0x1400a7eda lea rcx, [rsp+78h+Block]; void * ; +0xbd, 0x1400a7edd call sub_1400405A0 ; +0xc2, 0x1400a7ee2 lea rbx, [rdi+400h] ; +0xc7, 0x1400a7ee7 test rdi, rdi ; +0xce, 0x1400a7eee cmovz rbx, rsi ; +0xd1, 0x1400a7ef1 lea rcx, [rsp+78h+var_48] ; +0xd5, 0x1400a7ef5 call ReportPopup__reasonIndicesForUploadModeration ; +0xda, 0x1400a7efa nop ; +0xdf, 0x1400a7eff mov r9, rax ; +0xe0, 0x1400a7f00 lea r8, [rsp+78h+Block] ; +0xe3, 0x1400a7f03 mov edx, 2 ; +0xe8, 0x1400a7f08 mov rcx, rbx ; +0xed, 0x1400a7f0d call sub_1400A6720 ; +0xf0, 0x1400a7f10 nop ; +0xf5, 0x1400a7f15 lea rcx, [rsp+78h+var_48] ; +0xf6, 0x1400a7f16 call sub_140069730 ; +0xfb, 0x1400a7f1b nop ; +0x100, 0x1400a7f20 mov rdx, qword ptr [rsp+78h+var_20+8] ; +0x101, 0x1400a7f21 cmp rdx, 0Fh ; +0x106, 0x1400a7f26 jbe short loc_1400A7F70 ; +0x10a, 0x1400a7f2a inc rdx ; +0x10c, 0x1400a7f2c mov rcx, [rsp+78h+Block]; Block ; +0x10f, 0x1400a7f2f mov rax, rcx ; +0x114, 0x1400a7f34 cmp rdx, 1000h ; +0x117, 0x1400a7f37 jb short loc_1400A7F6B ; +0x11e, 0x1400a7f3e add rdx, 27h ; ''' ; +0x120, 0x1400a7f40 mov rcx, [rcx-8] ; +0x124, 0x1400a7f44 sub rax, rcx ; +0x128, 0x1400a7f48 sub rax, 8 ; +0x12b, 0x1400a7f4b cmp rax, 1Fh ; +0x12f, 0x1400a7f4f jbe short loc_1400A7F6B ; +0x133, 0x1400a7f53 mov [rsp+78h+Reserved], rsi; Reserved ; +0x135, 0x1400a7f55 xor r9d, r9d; LineNo ; +0x13a, 0x1400a7f5a xor r8d, r8d; FileName ; +0x13d, 0x1400a7f5d xor edx, edx; FunctionName ; +0x140, 0x1400a7f60 xor ecx, ecx; Expression ; +0x142, 0x1400a7f62 call cs:_invoke_watson ; +0x144, 0x1400a7f64 db 0CCh ; +0x14a, 0x1400a7f6a call j_j_free ; +0x14b, 0x1400a7f6b mov rcx, [rsp+78h+var_10] ; +0x150, 0x1400a7f70 xor rcx, rsp; StackCookie ; +0x155, 0x1400a7f75 call __security_check_cookie ; +0x158, 0x1400a7f78 lea r11, [rsp+78h+var_8] ; +0x15d, 0x1400a7f7d mov rbx, [r11+18h] ; +0x162, 0x1400a7f82 mov rsi, [r11+20h] ; +0x166, 0x1400a7f86 mov rsp, r11 ; +0x16a, 0x1400a7f8a pop rdi ; +0x16d, 0x1400a7f8d retn ; +0x16e, 0x1400a7f8e