; ; GJBaseGameLayer::getModifiedDelta from 0x140340630 to 0x1403406c8 (152 bytes) ; ; 3 xrefs: ; > GJBaseGameLayer::update @ 0x1403407e7 ; > LevelEditorLayer::updateEditor @ 0x1403f5ffd ; > @ 0x14091fd6c ; ; 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:39 +0000 ; push rbx ; +0x0, 0x140340630 sub rsp, 40h ; +0x2, 0x140340632 cmp dword ptr [rcx+33A4h], 0 ; +0x6, 0x140340636 mov rbx, rcx ; +0xd, 0x14034063d movaps [rsp+48h+var_18], xmm6 ; +0x10, 0x140340640 movaps [rsp+48h+var_28], xmm7 ; +0x15, 0x140340645 jle short loc_14034065B ; +0x1a, 0x14034064a call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1c, 0x14034064c dec dword ptr [rbx+33A4h] ; +0x22, 0x140340652 xorps xmm1, xmm1 ; +0x28, 0x140340658 movss xmm0, cs:flt_140835080 ; +0x2b, 0x14034065b minss xmm0, dword ptr [rbx+330h] ; +0x33, 0x140340663 cvtps2pd xmm7, xmm0 ; +0x3b, 0x14034066b xorps xmm0, xmm0 ; +0x3e, 0x14034066e mulsd xmm7, cs:qword_140835040 ; +0x41, 0x140340671 cvtss2sd xmm0, xmm1 ; +0x49, 0x140340679 addsd xmm0, qword ptr [rbx+3350h] ; +0x4d, 0x14034067d cvtpd2ps xmm0, xmm0 ; +0x55, 0x140340685 cvtps2pd xmm6, xmm0 ; +0x59, 0x140340689 movaps xmm1, xmm6 ; +0x5c, 0x14034068c divsd xmm1, xmm7 ; +0x5f, 0x14034068f cvtpd2ps xmm0, xmm1; X ; +0x63, 0x140340693 call cs:__imp_roundf ; +0x67, 0x140340697 cvttss2si eax, xmm0 ; +0x6d, 0x14034069d xorps xmm0, xmm0 ; +0x71, 0x1403406a1 cvtsi2sd xmm0, eax ; +0x74, 0x1403406a4 mulsd xmm0, xmm7 ; +0x78, 0x1403406a8 movaps xmm7, [rsp+48h+var_28] ; +0x7c, 0x1403406ac subsd xmm6, xmm0 ; +0x81, 0x1403406b1 movsd qword ptr [rbx+3350h], xmm6 ; +0x85, 0x1403406b5 movaps xmm6, [rsp+48h+var_18] ; +0x8d, 0x1403406bd add rsp, 40h ; +0x92, 0x1403406c2 pop rbx ; +0x96, 0x1403406c6 retn ; +0x97, 0x1403406c7