//
// sub_1002BB098 from 0x1002bb098 to 0x1002bb150 (184 bytes)
//
// 1 xrefs:
// > PlayerObject::updateJump @ 0x1002b75d0
//
// This function is hookable on this platform (idp: arm, 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:02:26 +0000
//
double __fastcall sub_1002BB098(__int64 a1)
{
__int64 v2; // x0
double result; // d0
float *v4; // x20
char v5; // w0
__int64 v6; // x1
__int64 v7; // x2
__int64 v8; // x3
__int64 v9; // x4
__int64 v10; // x5
__int64 v11; // x6
__int64 v12; // x7
__int64 v13; // x20
if ( *(_BYTE *)(a1 + 1972) != 1
|| (v2 = GameManager::sharedState(a1), !GJBaseGameLayer::isFlipping(*(_QWORD *)(v2 + 544))) )
{
if ( (*(_BYTE *)(a1 + 1787) & 1) == 0 )
{
cocos2d::CCParticleSystem::resumeSystem(*(_QWORD *)(a1 + 2192));
cocos2d::CCNode::stopActionByTag(a1, 7);
v4 = cocos2d::CCDelayTime::create(0.12);
v5 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, (__int64)sub_1002C7AE0, 0);
v13 = sub_10021D420((__int64)v4, v6, v7, v8, v9, v10, v11, v12, v5);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v13 + 72LL))(v13, 7);
*(_QWORD *)&result = cocos2d::CCNode::runAction(a1, v13).n128_u64[0];
}
}
return result;
}