; ; GameLevelManager::onGetGJUserInfoCompleted from 0x14015a030 to 0x14015a1b5 (389 bytes) ; ; 2 xrefs: ; > GameLevelManager::handleIt @ 0x14014361b ; > @ 0x1406ca9e0 ; ; 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 ; mov [rsp+arg_18], rbx ; +0x0, 0x14015a030 push rbp ; +0x5, 0x14015a035 push rsi ; +0x6, 0x14015a036 push rdi ; +0x7, 0x14015a037 push r14 ; +0x8, 0x14015a038 push r15 ; +0xa, 0x14015a03a sub rsp, 60h ; +0xc, 0x14015a03c mov rax, cs:__security_cookie ; +0x10, 0x14015a040 xor rax, rsp ; +0x17, 0x14015a047 mov [rsp+88h+var_30], rax ; +0x1a, 0x14015a04a mov rsi, r8 ; +0x1f, 0x14015a04f mov rdi, rdx ; +0x22, 0x14015a052 mov rbx, rcx ; +0x25, 0x14015a055 mov [rsp+88h+var_60], rdx ; +0x28, 0x14015a058 mov [rsp+88h+var_58], r8 ; +0x2d, 0x14015a05d mov rbp, r8 ; +0x32, 0x14015a062 cmp qword ptr [r8+18h], 0Fh ; +0x35, 0x14015a065 jbe short loc_14015A06F ; +0x3a, 0x14015a06a mov rbp, [r8] ; +0x3c, 0x14015a06c mov rdx, rbp ; +0x3f, 0x14015a06f call GameLevelManager__removeDLFromActive ; +0x42, 0x14015a072 mov r8d, 1 ; +0x47, 0x14015a077 mov rdx, rbp ; +0x4d, 0x14015a07d call GameLevelManager__getSplitIntFromKey ; +0x50, 0x14015a080 movsxd rbp, eax ; +0x55, 0x14015a085 xorps xmm0, xmm0 ; +0x58, 0x14015a088 movups [rsp+88h+Buf2], xmm0 ; +0x5b, 0x14015a08b mov edx, 2 ; +0x60, 0x14015a090 mov [rsp+88h+var_40], rdx ; +0x65, 0x14015a095 mov [rsp+88h+var_38], 0Fh ; +0x6a, 0x14015a09a mov eax, 312Dh ; +0x73, 0x14015a0a3 mov word ptr [rsp+88h+Buf2], ax ; +0x78, 0x14015a0a8 mov byte ptr [rsp+88h+Buf2+2], 0 ; +0x7d, 0x14015a0ad mov rcx, rdi ; +0x82, 0x14015a0b2 cmp qword ptr [rdi+18h], 0Fh ; +0x85, 0x14015a0b5 jbe short loc_14015A0BF ; +0x8a, 0x14015a0ba mov rcx, [rdi]; Buf1 ; +0x8c, 0x14015a0bc mov r14, [rdi+10h] ; +0x8f, 0x14015a0bf mov r8, r14 ; +0x93, 0x14015a0c3 cmp r14, rdx ; +0x96, 0x14015a0c6 cmova r8, rdx; Size ; +0x99, 0x14015a0c9 lea rdx, [rsp+88h+Buf2]; Buf2 ; +0x9d, 0x14015a0cd call memcmp ; +0xa2, 0x14015a0d2 test eax, eax ; +0xa7, 0x14015a0d7 jnz short loc_14015A0E1 ; +0xa9, 0x14015a0d9 cmp r14, 2 ; +0xab, 0x14015a0db jz short loc_14015A10B ; +0xaf, 0x14015a0df mov rdx, rdi ; +0xb1, 0x14015a0e1 lea rcx, [rsp+88h+Buf2] ; +0xb4, 0x14015a0e4 call sub_14003BDB0 ; +0xb9, 0x14015a0e9 xor edx, edx ; +0xbe, 0x14015a0ee mov rcx, rax ; +0xc0, 0x14015a0f0 call GameLevelManager__responseToDict ; +0xc3, 0x14015a0f3 mov r15, rax ; +0xc8, 0x14015a0f8 mov rcx, rax ; +0xcb, 0x14015a0fb call GJUserScore__create ; +0xce, 0x14015a0fe mov r14, rax ; +0xd3, 0x14015a103 test rax, rax ; +0xd6, 0x14015a106 jnz short loc_14015A121 ; +0xd9, 0x14015a109 mov rcx, [rbx+320h] ; +0xdb, 0x14015a10b test rcx, rcx ; +0xe2, 0x14015a112 jz short loc_14015A183 ; +0xe5, 0x14015a115 mov rax, [rcx] ; +0xe7, 0x14015a117 mov edx, ebp ; +0xea, 0x14015a11a call qword ptr [rax+8] ; +0xec, 0x14015a11c jmp short loc_14015A183 ; +0xef, 0x14015a11f movsxd rax, dword ptr [rax+188h] ; +0xf1, 0x14015a121 test eax, eax ; +0xf8, 0x14015a128 jle short loc_14015A13F ; +0xfa, 0x14015a12a mov r8, rax ; +0xfc, 0x14015a12c mov rdx, r14 ; +0xff, 0x14015a12f mov rcx, [rbx+258h] ; +0x102, 0x14015a132 call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x109, 0x14015a139 cmp dword ptr [r14+2E8h], 3 ; +0x10f, 0x14015a13f jnz short loc_14015A16E ; +0x117, 0x14015a147 mov rcx, r15 ; +0x119, 0x14015a149 call GJFriendRequest__create ; +0x11c, 0x14015a14c mov [rax+144h], ebp ; +0x121, 0x14015a151 test ebp, ebp ; +0x127, 0x14015a157 jle short loc_14015A16E ; +0x129, 0x14015a159 mov r8, rbp ; +0x12b, 0x14015a15b mov rdx, rax ; +0x12e, 0x14015a15e mov rcx, [rbx+260h] ; +0x131, 0x14015a161 call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x138, 0x14015a168 mov rcx, [rbx+320h] ; +0x13e, 0x14015a16e test rcx, rcx ; +0x145, 0x14015a175 jz short loc_14015A183 ; +0x148, 0x14015a178 mov rax, [rcx] ; +0x14a, 0x14015a17a mov rdx, r14 ; +0x14d, 0x14015a17d call qword ptr [rax] ; +0x150, 0x14015a180 nop ; +0x152, 0x14015a182 mov rcx, rdi ; +0x153, 0x14015a183 call sub_14003A830 ; +0x156, 0x14015a186 nop ; +0x15b, 0x14015a18b mov rcx, rsi ; +0x15c, 0x14015a18c call sub_14003A830 ; +0x15f, 0x14015a18f mov rcx, [rsp+88h+var_30] ; +0x164, 0x14015a194 xor rcx, rsp; StackCookie ; +0x169, 0x14015a199 call __security_check_cookie ; +0x16c, 0x14015a19c mov rbx, [rsp+88h+arg_18] ; +0x171, 0x14015a1a1 add rsp, 60h ; +0x179, 0x14015a1a9 pop r15 ; +0x17d, 0x14015a1ad pop r14 ; +0x17f, 0x14015a1af pop rdi ; +0x181, 0x14015a1b1 pop rsi ; +0x182, 0x14015a1b2 pop rbp ; +0x183, 0x14015a1b3 retn ; +0x184, 0x14015a1b4