; ; GJBaseGameLayer::updateObjectSection from 0x140330ba0 to 0x140330cb7 (279 bytes) ; ; 3 xrefs: ; > @ 0x14076b818 ; > @ 0x1407d5e78 ; > @ 0x14091f5d4 ; ; 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:32 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140330ba0 push rdi ; +0x5, 0x140330ba5 sub rsp, 20h ; +0x6, 0x140330ba6 mov rdi, rcx ; +0xa, 0x140330baa mov rbx, rdx ; +0xd, 0x140330bad mov ecx, [rdx+278h] ; +0x10, 0x140330bb0 test ecx, ecx ; +0x16, 0x140330bb6 js loc_140330CAC ; +0x18, 0x140330bb8 movsd xmm3, qword ptr [rdx+3B8h] ; +0x1e, 0x140330bbe xorps xmm0, xmm0 ; +0x26, 0x140330bc6 comisd xmm0, xmm3 ; +0x29, 0x140330bc9 movsd xmm4, cs:qword_140835540 ; +0x2d, 0x140330bcd movss xmm5, cs:dword_140835C38 ; +0x35, 0x140330bd5 jb short loc_140330BE4 ; +0x3d, 0x140330bdd xorps xmm2, xmm2 ; +0x3f, 0x140330bdf jmp short loc_140330C02 ; +0x42, 0x140330be2 comisd xmm3, xmm4 ; +0x44, 0x140330be4 movss xmm1, dword ptr [rdi+37A0h] ; +0x48, 0x140330be8 jb short loc_140330BFB ; +0x50, 0x140330bf0 mulss xmm1, xmm5 ; +0x52, 0x140330bf2 cvtps2pd xmm2, xmm1 ; +0x56, 0x140330bf6 jmp short loc_140330C02 ; +0x59, 0x140330bf9 cvtps2pd xmm2, xmm1 ; +0x5b, 0x140330bfb mulsd xmm2, xmm3 ; +0x5e, 0x140330bfe movsd xmm3, qword ptr [rdx+3C0h] ; +0x62, 0x140330c02 comisd xmm0, xmm3 ; +0x6a, 0x140330c0a jnb short loc_140330C2E ; +0x6e, 0x140330c0e comisd xmm3, xmm4 ; +0x70, 0x140330c10 movss xmm1, dword ptr [rdi+37A4h] ; +0x74, 0x140330c14 jb short loc_140330C27 ; +0x7c, 0x140330c1c mulss xmm1, xmm5 ; +0x7e, 0x140330c1e cvtps2pd xmm0, xmm1 ; +0x82, 0x140330c22 jmp short loc_140330C2E ; +0x85, 0x140330c25 cvtps2pd xmm0, xmm1 ; +0x87, 0x140330c27 mulsd xmm0, xmm3 ; +0x8a, 0x140330c2a cvttsd2si eax, xmm2 ; +0x8e, 0x140330c2e cmp eax, ecx ; +0x92, 0x140330c32 jnz short loc_140330C42 ; +0x94, 0x140330c34 cvttsd2si eax, xmm0 ; +0x96, 0x140330c36 cmp eax, [rdx+27Ch] ; +0x9a, 0x140330c3a jz short loc_140330CAC ; +0xa0, 0x140330c40 mov rcx, rdi ; +0xa2, 0x140330c42 call GJBaseGameLayer__removeObjectFromSection ; +0xa5, 0x140330c45 mov rax, [rdi] ; +0xaa, 0x140330c4a mov rdx, rbx ; +0xad, 0x140330c4d mov rcx, rdi ; +0xb0, 0x140330c50 call qword ptr [rax+4A8h] ; +0xb3, 0x140330c53 cmp byte ptr [rbx+305h], 0 ; +0xb9, 0x140330c59 jz short loc_140330CAC ; +0xc0, 0x140330c60 mov eax, [rbx+278h] ; +0xc2, 0x140330c62 cmp eax, [rdi+3170h] ; +0xc8, 0x140330c68 jg short loc_140330C8E ; +0xce, 0x140330c6e cmp eax, [rdi+316Ch] ; +0xd0, 0x140330c70 jl short loc_140330C8E ; +0xd6, 0x140330c76 mov eax, [rbx+27Ch] ; +0xd8, 0x140330c78 cmp eax, [rdi+3178h] ; +0xde, 0x140330c7e jg short loc_140330C8E ; +0xe4, 0x140330c84 cmp eax, [rdi+3174h] ; +0xe6, 0x140330c86 jge short loc_140330CAC ; +0xec, 0x140330c8c mov r8d, [rbx+39Ch] ; +0xee, 0x140330c8e mov rdx, rbx ; +0xf5, 0x140330c95 mov rcx, [rdi+1110h] ; +0xf8, 0x140330c98 call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0xff, 0x140330c9f mov byte ptr [rbx+3EEh], 1 ; +0x105, 0x140330ca5 mov rbx, [rsp+28h+arg_0] ; +0x10c, 0x140330cac add rsp, 20h ; +0x111, 0x140330cb1 pop rdi ; +0x115, 0x140330cb5 retn ; +0x116, 0x140330cb6