// // TouchControlEditLayer::valueDidChange from 0xd07380 to 0xd07500 (384 bytes) // // 2 xrefs: // > @ 0xbc3e0 // > @ 0x1508df0 // // 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 13:06:57 +0000 // __int64 __fastcall TouchControlEditLayer::valueDidChange(TouchControlEditLayer *this, int a2, float a3) { GJUINode *active; // x2 __int64 result; // x0 __int64 v6; // x0 GameManager *v7; // x0 active = (GJUINode *)TouchControlEditLayer::activeNode(this); result = 1; *((_BYTE *)this + 1336) = 1; switch ( a2 ) { case 1: if ( active ) result = GJUINode::setOpacity(active, (unsigned int)(float)(a3 * 255.0)); break; case 2: if ( active ) GJUINode::updateButtonScale(active, a3); result = TouchControlEditLayer::updateHandles(this); break; case 3: if ( active ) { GJUINode::toggleModeB((__int64)active, a3 != 0.0); goto LABEL_8; } break; case 4: if ( active ) { result = a3 != 0.0; *((_BYTE *)active + 382) = result; } break; case 5: if ( active ) { *((_BYTE *)active + 387) = a3 != 0.0; result = GJUINode::updateButtonFrames(active); } break; case 6: v6 = *((_QWORD *)this + 127); if ( v6 ) { *(_DWORD *)(v6 + 68) = *(_DWORD *)(v6 + 68) == 0; } else { v7 = (GameManager *)GameManager::sharedState(nullptr); GameManager::toggleGameVariable(v7, "0113"); } result = TouchControlEditLayer::updateJumpGuide(this); break; case 7: TouchControlEditLayer::saveTarget(this); *((_BYTE *)this + 1012) = a3 != 0.0; TouchControlEditLayer::clearNodes(this); TouchControlEditLayer::buildNodes(this); TouchControlEditLayer::updateHandles(this); TouchControlEditLayer::updateJumpGuide(this); TouchControlEditLayer::refreshHud(this); LABEL_8: result = TouchControlEditLayer::updateHudVisibility(this); break; default: return result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source