// // TouchControlEditLayer::updateJumpGuide from 0x7a2f10 to 0x7a3004 (244 bytes) // // 4 xrefs: // > TouchControlEditLayer::init @ 0x7a42a4 // > TouchControlEditLayer::reloadNodes @ 0x7a44e6 // > TouchControlEditLayer::valueDidChange @ 0x7a4eee // > TouchControlEditLayer::valueDidChange @ 0x7a4f1e // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:59:55 +0000 // int __fastcall TouchControlEditLayer::updateJumpGuide(TouchControlEditLayer *this) { int result; // r0 GameManager *WinSize; // r0 const char *v4; // r2 int v5; // r3 int GameVariable; // r5 GameManager *v7; // r0 int v8; // r0 int v9; // r7 int (__fastcall *v10)(int, _BYTE *); // r8 float v11; // s14 float v12[2]; // [sp+4h] [bp-14h] BYREF _BYTE v13[8]; // [sp+Ch] [bp-Ch] BYREF if ( *((_BYTE *)this + 712) ) { result = *((_DWORD *)this + 249); if ( result ) return (*(int (__fastcall **)(int, _DWORD))(*(_DWORD *)result + 172))(result, 0); } else { cocos2d::CCDirector::sharedDirector(this); WinSize = (GameManager *)cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v12); v5 = *((_DWORD *)this + 179); if ( v5 ) { GameVariable = *(_DWORD *)(v5 + 64) != 0; } else { v7 = (GameManager *)GameManager::sharedState(WinSize); GameVariable = GameManager::getGameVariable(v7, "0113"); } if ( !*((_DWORD *)this + 249) ) { v8 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"JUMP", "bigFont.fnt", v4); *((_DWORD *)this + 249) = v8; (*(void (__fastcall **)(int, int))(*(_DWORD *)v8 + 80))(v8, 1060320051); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 249) + 512))(*((_DWORD *)this + 249), 120); (*(void (__fastcall **)(TouchControlEditLayer *, _DWORD, int))(*(_DWORD *)this + 232))( this, *((_DWORD *)this + 249), 50); } (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 249) + 172))(*((_DWORD *)this + 249), 1); v9 = *((_DWORD *)this + 249); v10 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v9 + 92); if ( GameVariable ) v11 = 0.25; else v11 = 0.75; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, v12[0] * v11, v12[1] * 0.4); return v10(v9, v13); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source