; ; GJBaseGameLayer::addUIObject from 0x14032ec90 to 0x14032eda4 (276 bytes) ; ; 5 xrefs: ; > GJBaseGameLayer::positionUIObjects @ 0x14032efff ; > GJBaseGameLayer::positionUIObjects @ 0x14032f1ab ; > @ 0x1408b6468 ; > @ 0x1408b6478 ; > @ 0x14091f478 ; ; 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:30:31 +0000 ; mov [rsp+arg_18], rsi ; +0x0, 0x14032ec90 push rdi ; +0x5, 0x14032ec95 sub rsp, 30h ; +0x6, 0x14032ec96 cmp byte ptr [rdx+549h], 0 ; +0xa, 0x14032ec9a mov rdi, rdx ; +0x11, 0x14032eca1 mov rsi, rcx ; +0x14, 0x14032eca4 jnz loc_14032ED99 ; +0x17, 0x14032eca7 mov eax, [rdx+39Ch] ; +0x1d, 0x14032ecad lea r8, [rsp+38h+arg_8] ; +0x23, 0x14032ecb3 lea rdx, [rsp+38h+var_18] ; +0x28, 0x14032ecb8 mov [rsp+38h+arg_0], rbx ; +0x2d, 0x14032ecbd add rcx, 928h ; +0x32, 0x14032ecc2 mov dword ptr [rsp+38h+arg_8], eax ; +0x39, 0x14032ecc9 call sub_140357DC0 ; +0x3d, 0x14032eccd lea rdx, [rsp+38h+arg_10] ; +0x42, 0x14032ecd2 mov rcx, rdi ; +0x47, 0x14032ecd7 mov rbx, [rax] ; +0x4a, 0x14032ecda mov rax, [rdi] ; +0x4d, 0x14032ecdd call qword ptr [rax+680h] ; +0x50, 0x14032ece0 mov rdx, rax ; +0x56, 0x14032ece6 lea rcx, [rbx+14h] ; +0x59, 0x14032ece9 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x5d, 0x14032eced mov rdx, rdi ; +0x63, 0x14032ecf3 mov rcx, rsi ; +0x66, 0x14032ecf6 call GJBaseGameLayer__removeObjectFromSection ; +0x69, 0x14032ecf9 mov rax, [rdi] ; +0x6e, 0x14032ecfe mov dl, 1 ; +0x71, 0x14032ed01 mov rcx, rdi ; +0x73, 0x14032ed03 call qword ptr [rax+488h] ; +0x76, 0x14032ed06 mov dword ptr [rdi+278h], 0FFFFFFFFh ; +0x7c, 0x14032ed0c mov rdx, rdi ; +0x86, 0x14032ed16 mov byte ptr [rdi+549h], 1 ; +0x89, 0x14032ed19 mov rcx, [rsi+3648h] ; +0x90, 0x14032ed20 call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x97, 0x14032ed27 cmp dword ptr [rdi+40Ch], 718h ; +0x9d, 0x14032ed2d mov rbx, [rsp+38h+arg_0] ; +0xa7, 0x14032ed37 jnz short loc_14032ED99 ; +0xac, 0x14032ed3c movsxd r9, dword ptr [rsi+3738h] ; +0xae, 0x14032ed3e lea rcx, [rsi+3720h] ; +0xb5, 0x14032ed45 mov rdx, [rcx+8] ; +0xbc, 0x14032ed4c mov r8, [rcx] ; +0xc0, 0x14032ed50 mov rax, rdx ; +0xc3, 0x14032ed53 sub rax, r8 ; +0xc6, 0x14032ed56 mov [rsp+38h+arg_8], rdi ; +0xc9, 0x14032ed59 sar rax, 3 ; +0xce, 0x14032ed5e cmp r9, rax ; +0xd2, 0x14032ed62 jb short loc_14032ED83 ; +0xd5, 0x14032ed65 cmp rdx, [rcx+10h] ; +0xd7, 0x14032ed67 jz short loc_14032ED77 ; +0xdb, 0x14032ed6b mov [rdx], rdi ; +0xdd, 0x14032ed6d add qword ptr [rcx+8], 8 ; +0xe0, 0x14032ed70 jmp short loc_14032ED87 ; +0xe5, 0x14032ed75 lea r8, [rsp+38h+arg_8] ; +0xe7, 0x14032ed77 call sub_1400699B0 ; +0xec, 0x14032ed7c jmp short loc_14032ED87 ; +0xf1, 0x14032ed81 mov [r8+r9*8], rdi ; +0xf3, 0x14032ed83 mov eax, [rsi+3738h] ; +0xf7, 0x14032ed87 mov [rdi+274h], eax ; +0xfd, 0x14032ed8d inc dword ptr [rsi+3738h] ; +0x103, 0x14032ed93 mov rsi, [rsp+38h+arg_18] ; +0x109, 0x14032ed99 add rsp, 30h ; +0x10e, 0x14032ed9e pop rdi ; +0x112, 0x14032eda2 retn ; +0x113, 0x14032eda3