// // TouchControlEditLayer::updateJumpGuide from 0x1009791a0 to 0x100979302 (354 bytes) // // 4 xrefs: // > TouchControlEditLayer::init @ 0x100977dc1 // > TouchControlEditLayer::valueDidChange @ 0x10097a70d // > TouchControlEditLayer::valueDidChange @ 0x10097a7a2 // > TouchControlEditLayer::reloadNodes @ 0x10097b93d // // 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 12:38:56 +0000 // void __fastcall TouchControlEditLayer::updateJumpGuide(__int64 a1) { __int64 v2; // rdi __int64 v3; // rax __int64 v4; // rax char GameVariable; // r14 __int64 v6; // rdi void *v7; // rax __int64 v8; // rbx float v9; // xmm0_4 __int64 v10; // rax float v11; // [rsp+0h] [rbp-20h] BYREF __int64 v12; // [rsp+8h] [rbp-18h] BYREF if ( *(_BYTE *)(a1 + 1012) == 1 ) { v2 = *(_QWORD *)(a1 + 1344); if ( v2 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 344LL))(v2, 0); return; } v3 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v12, v3); v4 = *(_QWORD *)(a1 + 1016); if ( !v4 ) { v10 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v10, "0113"); v6 = *(_QWORD *)(a1 + 1344); if ( v6 ) goto LABEL_7; goto LABEL_6; } GameVariable = *(_DWORD *)(v4 + 68) != 0; v6 = *(_QWORD *)(a1 + 1344); if ( !v6 ) { LABEL_6: v7 = cocos2d::CCLabelBMFont::create_3((__int64)"JUMP", (__int64)"bigFont.fnt"); *(_QWORD *)(a1 + 1344) = v7; (*(void (__fastcall **)(void *, float))(*(_QWORD *)v7 + 160LL))(v7, 0.69999999); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1344) + 1024LL))(*(_QWORD *)(a1 + 1344), 120); (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)a1 + 464LL))(a1, *(_QWORD *)(a1 + 1344), 50); v6 = *(_QWORD *)(a1 + 1344); } LABEL_7: (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 344LL))(v6, 1); v8 = *(_QWORD *)(a1 + 1344); if ( GameVariable ) v9 = 0.25; else v9 = 0.75; sub_100278250(&v11, v9 * *(float *)&v12, *((float *)&v12 + 1) * 0.40000001); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v8 + 184LL))(v8, &v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source