// // GJGroundLayer::updateShadows from 0x140387a00 to 0x140387a95 (149 bytes) // // 6 xrefs: // > GJBaseGameLayer::preUpdateVisibility @ 0x14033f533 // > GJBaseGameLayer::preUpdateVisibility @ 0x14033f551 // > GJBaseGameLayer::resetLevelVariables @ 0x1403456c5 // > GJBaseGameLayer::resetLevelVariables @ 0x1403456e3 // > GJGroundLayer::scaleGround @ 0x140387954 // > @ 0x140922ba4 // // 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:31:08 +0000 // _QWORD *__fastcall GJGroundLayer::updateShadows(__int64 a1) { double v2; // xmm0_8 float v3; // xmm6_4 __int64 v4; // rcx __int64 v5; // rax float *v6; // rax float v7; // xmm7_4 _QWORD *result; // rax _QWORD *v9; // rdi __int64 v10; // rbx __int64 v11; // rax char v12; // [rsp+50h] [rbp+8h] BYREF v2 = (*(double (__fastcall **)(__int64))(*(_QWORD *)a1 + 128LL))(a1); v3 = *(float *)&v2; v5 = cocos2d::CCDirector::sharedDirector(v4); cocos2d::CCDirector::getWinSize(v5, &v12); v7 = *v6 / v3; result = (_QWORD *)(*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 472LL))(a1, 1); v9 = result; if ( result ) { v10 = *result; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v12, v7 + 1.0, 0.0); return (_QWORD *)(*(__int64 (__fastcall **)(_QWORD *, __int64))(v10 + 184))(v9, v11); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source