; ; GJBaseGameLayer::updateObjectSection from 0x140227f50 to 0x140228067 (279 bytes) ; ; 3 xrefs: ; > @ 0x140567038 ; > @ 0x1405c9c20 ; > @ 0x1406cd950 ; ; 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_0], rbx ; +0x0, 0x140227f50 push rdi ; +0x5, 0x140227f55 sub rsp, 20h ; +0x6, 0x140227f56 mov eax, [rdx+278h] ; +0xa, 0x140227f5a mov rbx, rdx ; +0x10, 0x140227f60 mov rdi, rcx ; +0x13, 0x140227f63 test eax, eax ; +0x16, 0x140227f66 js loc_14022805C ; +0x18, 0x140227f68 movsd xmm3, qword ptr [rdx+3B8h] ; +0x1e, 0x140227f6e xorps xmm0, xmm0 ; +0x26, 0x140227f76 comisd xmm0, xmm3 ; +0x29, 0x140227f79 movsd xmm4, cs:qword_1406230C8 ; +0x2d, 0x140227f7d movss xmm5, cs:dword_14062369C ; +0x35, 0x140227f85 jb short loc_140227F94 ; +0x3d, 0x140227f8d xorps xmm1, xmm1 ; +0x3f, 0x140227f8f jmp short loc_140227FB2 ; +0x42, 0x140227f92 comisd xmm3, xmm4 ; +0x44, 0x140227f94 movss xmm2, dword ptr [rcx+36A0h] ; +0x48, 0x140227f98 jb short loc_140227FAB ; +0x50, 0x140227fa0 mulss xmm2, xmm5 ; +0x52, 0x140227fa2 cvtps2pd xmm1, xmm2 ; +0x56, 0x140227fa6 jmp short loc_140227FB2 ; +0x59, 0x140227fa9 cvtps2pd xmm1, xmm2 ; +0x5b, 0x140227fab mulsd xmm1, xmm3 ; +0x5e, 0x140227fae movsd xmm2, qword ptr [rdx+3C0h] ; +0x62, 0x140227fb2 comisd xmm0, xmm2 ; +0x6a, 0x140227fba cvttsd2si ecx, xmm1 ; +0x6e, 0x140227fbe jnb short loc_140227FE2 ; +0x72, 0x140227fc2 comisd xmm2, xmm4 ; +0x74, 0x140227fc4 movss xmm1, dword ptr [rdi+36A4h] ; +0x78, 0x140227fc8 jb short loc_140227FDB ; +0x80, 0x140227fd0 mulss xmm1, xmm5 ; +0x82, 0x140227fd2 cvtps2pd xmm0, xmm1 ; +0x86, 0x140227fd6 jmp short loc_140227FE2 ; +0x89, 0x140227fd9 cvtps2pd xmm0, xmm1 ; +0x8b, 0x140227fdb mulsd xmm0, xmm2 ; +0x8e, 0x140227fde cmp ecx, eax ; +0x92, 0x140227fe2 jnz short loc_140227FF2 ; +0x94, 0x140227fe4 cvttsd2si eax, xmm0 ; +0x96, 0x140227fe6 cmp eax, [rdx+27Ch] ; +0x9a, 0x140227fea jz short loc_14022805C ; +0xa0, 0x140227ff0 mov rcx, rdi ; +0xa2, 0x140227ff2 call GJBaseGameLayer__removeObjectFromSection ; +0xa5, 0x140227ff5 mov rax, [rdi] ; +0xaa, 0x140227ffa mov rdx, rbx ; +0xad, 0x140227ffd mov rcx, rdi ; +0xb0, 0x140228000 call qword ptr [rax+478h] ; +0xb3, 0x140228003 cmp byte ptr [rbx+305h], 0 ; +0xb9, 0x140228009 jz short loc_14022805C ; +0xc0, 0x140228010 mov eax, [rbx+278h] ; +0xc2, 0x140228012 cmp eax, [rdi+3090h] ; +0xc8, 0x140228018 jg short loc_14022803E ; +0xce, 0x14022801e cmp eax, [rdi+308Ch] ; +0xd0, 0x140228020 jl short loc_14022803E ; +0xd6, 0x140228026 mov eax, [rbx+27Ch] ; +0xd8, 0x140228028 cmp eax, [rdi+3098h] ; +0xde, 0x14022802e jg short loc_14022803E ; +0xe4, 0x140228034 cmp eax, [rdi+3094h] ; +0xe6, 0x140228036 jge short loc_14022805C ; +0xec, 0x14022803c mov r8d, [rbx+39Ch] ; +0xee, 0x14022803e mov rdx, rbx ; +0xf5, 0x140228045 mov rcx, [rdi+1030h] ; +0xf8, 0x140228048 call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0xff, 0x14022804f mov byte ptr [rbx+3EEh], 1 ; +0x105, 0x140228055 mov rbx, [rsp+28h+arg_0] ; +0x10c, 0x14022805c add rsp, 20h ; +0x111, 0x140228061 pop rdi ; +0x115, 0x140228065 retn ; +0x116, 0x140228066