; ; GJGroundLayer::updateShadows from 0x14027ee80 to 0x14027ef15 (149 bytes) ; ; 6 xrefs: ; > GJBaseGameLayer::preUpdateVisibility @ 0x140236605 ; > GJBaseGameLayer::preUpdateVisibility @ 0x140236623 ; > GJBaseGameLayer::resetLevelVariables @ 0x14023b71e ; > GJBaseGameLayer::resetLevelVariables @ 0x14023b73c ; > GJGroundLayer::scaleGround @ 0x14027edcb ; > @ 0x1406d128c ; ; 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_8], rbx ; +0x0, 0x14027ee80 push rdi ; +0x5, 0x14027ee85 sub rsp, 40h ; +0x6, 0x14027ee86 mov rax, [rcx] ; +0xa, 0x14027ee8a mov rbx, rcx ; +0xd, 0x14027ee8d movaps [rsp+48h+var_18], xmm6 ; +0x10, 0x14027ee90 movaps [rsp+48h+var_28], xmm7 ; +0x15, 0x14027ee95 call qword ptr [rax+80h] ; +0x1a, 0x14027ee9a movaps xmm6, xmm0 ; +0x20, 0x14027eea0 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x23, 0x14027eea3 mov rcx, rax ; +0x29, 0x14027eea9 lea rdx, [rsp+48h+arg_0] ; +0x2c, 0x14027eeac call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x31, 0x14027eeb1 mov edx, 1 ; +0x37, 0x14027eeb7 mov rcx, rbx ; +0x3c, 0x14027eebc movss xmm7, dword ptr [rax] ; +0x3f, 0x14027eebf mov rax, [rbx] ; +0x43, 0x14027eec3 divss xmm7, xmm6 ; +0x46, 0x14027eec6 call qword ptr [rax+1C8h] ; +0x4a, 0x14027eeca mov rdi, rax ; +0x50, 0x14027eed0 test rax, rax ; +0x53, 0x14027eed3 jz short loc_14027EF00 ; +0x56, 0x14027eed6 addss xmm7, cs:flt_140622C24 ; +0x58, 0x14027eed8 mov rbx, [rax] ; +0x60, 0x14027eee0 lea rcx, [rsp+48h+arg_0] ; +0x63, 0x14027eee3 xorps xmm2, xmm2 ; +0x68, 0x14027eee8 movaps xmm1, xmm7 ; +0x6b, 0x14027eeeb call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x6e, 0x14027eeee mov rdx, rax ; +0x74, 0x14027eef4 mov rcx, rdi ; +0x77, 0x14027eef7 call qword ptr [rbx+0B8h] ; +0x7a, 0x14027eefa mov rbx, [rsp+48h+arg_8] ; +0x80, 0x14027ef00 movaps xmm6, [rsp+48h+var_18] ; +0x85, 0x14027ef05 movaps xmm7, [rsp+48h+var_28] ; +0x8a, 0x14027ef0a add rsp, 40h ; +0x8f, 0x14027ef0f pop rdi ; +0x93, 0x14027ef13 retn ; +0x94, 0x14027ef14