; ; FRequestProfilePage::onClose from 0x100790840 to 0x100790960 (288 bytes) ; ; 3 xrefs: ; > FRequestProfilePage::keyBackClicked @ 0x1007914a5 ; > sub_1007914B0 @ 0x1007914bc ; > FRequestProfilePage::init @ 0x1007900c2 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbp ; +0x0, 0x100790840 mov rbp, rsp ; +0x1, 0x100790841 push rbx ; +0x4, 0x100790844 push rax ; +0x5, 0x100790845 mov rbx, rdi ; +0x6, 0x100790846 cmp qword ptr [rdi+2C8h], 0 ; +0x9, 0x100790849 jz short loc_100790873 ; +0x11, 0x100790851 call cocos2d__CCDirector__sharedDirector ; +0x13, 0x100790853 mov rcx, [rax] ; +0x18, 0x100790858 mov rdi, rax ; +0x1b, 0x10079085b call qword ptr [rcx+0A0h] ; +0x1e, 0x10079085e mov rsi, [rbx+2C8h] ; +0x24, 0x100790864 mov rdi, rax ; +0x2b, 0x10079086b call cocos2d__CCTouchDispatcher__unregisterForcePrio ; +0x2e, 0x10079086e call cocos2d__CCDirector__sharedDirector ; +0x33, 0x100790873 mov rcx, [rax] ; +0x38, 0x100790878 mov rdi, rax ; +0x3b, 0x10079087b call qword ptr [rcx+0A0h] ; +0x3e, 0x10079087e mov rdi, rax ; +0x44, 0x100790884 mov rsi, rbx ; +0x47, 0x100790887 call cocos2d__CCTouchDispatcher__unregisterForcePrio ; +0x4a, 0x10079088a call GameLevelManager__sharedState ; +0x4f, 0x10079088f test byte ptr [rbx+2A0h], 1 ; +0x54, 0x100790894 jnz short loc_1007908B3 ; +0x5b, 0x10079089b lea rsi, [rbx+2A1h] ; +0x5d, 0x10079089d mov rdi, rax ; +0x64, 0x1007908a4 call GameLevelManager__getStoredOnlineLevels ; +0x67, 0x1007908a7 test rax, rax ; +0x6c, 0x1007908ac jnz short loc_1007908C7 ; +0x6f, 0x1007908af jmp short loc_1007908F8 ; +0x71, 0x1007908b1 mov rsi, [rbx+2B0h] ; +0x73, 0x1007908b3 mov rdi, rax ; +0x7a, 0x1007908ba call GameLevelManager__getStoredOnlineLevels ; +0x7d, 0x1007908bd test rax, rax ; +0x82, 0x1007908c2 jz short loc_1007908F8 ; +0x85, 0x1007908c5 mov rax, [rax+38h] ; +0x87, 0x1007908c7 mov ecx, [rax] ; +0x8b, 0x1007908cb test rcx, rcx ; +0x8d, 0x1007908cd jz short loc_1007908F8 ; +0x90, 0x1007908d0 mov rax, [rax+10h] ; +0x92, 0x1007908d2 lea rcx, [rax+rcx*8] ; +0x96, 0x1007908d6 add rcx, 0FFFFFFFFFFFFFFF8h ; +0x9a, 0x1007908da xchg ax, ax ; +0x9e, 0x1007908de mov rdx, [rax] ; +0xa0, 0x1007908e0 test rdx, rdx ; +0xa3, 0x1007908e3 jz short loc_1007908F8 ; +0xa6, 0x1007908e6 mov byte ptr [rdx+2B1h], 0 ; +0xa8, 0x1007908e8 add rax, 8 ; +0xaf, 0x1007908ef cmp rax, rcx ; +0xb3, 0x1007908f3 jbe short loc_1007908E0 ; +0xb6, 0x1007908f6 cmp byte ptr [rbx+298h], 0 ; +0xb8, 0x1007908f8 jz short loc_10079090A ; +0xbf, 0x1007908ff xor edi, edi ; +0xc1, 0x100790901 call FRequestProfilePage__create ; +0xc3, 0x100790903 jmp short loc_10079092C ; +0xc8, 0x100790908 call GJAccountManager__sharedState ; +0xca, 0x10079090a mov edi, [rax+160h] ; +0xcf, 0x10079090f sub edi, [rax+164h] ; +0xd5, 0x100790915 mov esi, 1 ; +0xdb, 0x10079091b call ProfilePage__create ; +0xe0, 0x100790920 mov byte ptr [rax+24Ch], 1 ; +0xe5, 0x100790925 mov rcx, [rax] ; +0xec, 0x10079092c mov rdi, rax ; +0xef, 0x10079092f call qword ptr [rcx+508h] ; +0xf2, 0x100790932 mov rax, [rbx] ; +0xf8, 0x100790938 mov rdi, rbx ; +0xfb, 0x10079093b xor esi, esi ; +0xfe, 0x10079093e call qword ptr [rax+420h] ; +0x100, 0x100790940 mov rax, [rbx] ; +0x106, 0x100790946 mov rax, [rax+200h] ; +0x109, 0x100790949 mov rdi, rbx ; +0x110, 0x100790950 mov esi, 1 ; +0x113, 0x100790953 add rsp, 8 ; +0x118, 0x100790958 pop rbx ; +0x11c, 0x10079095c pop rbp ; +0x11d, 0x10079095d jmp rax ; +0x11e, 0x10079095e