// // TouchControlEditLayer::refreshHud from 0x7a2a68 to 0x7a2aec (132 bytes) // // 4 xrefs: // > TouchControlEditLayer::ccTouchBegan @ 0x7a3272 // > TouchControlEditLayer::init @ 0x7a42b0 // > TouchControlEditLayer::reloadNodes @ 0x7a44ec // > TouchControlEditLayer::valueDidChange @ 0x7a4f24 // // 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 // GJUINode *__fastcall TouchControlEditLayer::refreshHud(TouchControlEditLayer *this) { GJUINode *result; // r0 unsigned __int8 *v3; // r5 char v4; // r7 int Opacity; // r0 cocos2d::CCFloat *ButtonScale; // r0 int v7; // r3 result = (GJUINode *)TouchControlEditLayer::activeNode(this); v3 = (unsigned __int8 *)result; if ( result ) { v4 = *((_BYTE *)this + 568); *((_BYTE *)this + 568) = 1; Opacity = GJUINode::getOpacity(result); SetupTriggerPopup::updateValueControls(this, 1, COERCE_COCOS2D_CCFLOAT_((float)Opacity / 255.0)); ButtonScale = (cocos2d::CCFloat *)GJUINode::getButtonScale((GJUINode *)v3); SetupTriggerPopup::updateValueControls(this, 2, ButtonScale); v7 = *(_DWORD *)this; *((_BYTE *)this + 568) = v4; (*(void (__fastcall **)(TouchControlEditLayer *, int, _DWORD))(v7 + 724))(this, 3, v3[317]); (*(void (__fastcall **)(TouchControlEditLayer *, int, _DWORD))(*(_DWORD *)this + 724))(this, 4, v3[318]); return (GJUINode *)(*(int (__fastcall **)(TouchControlEditLayer *, int, _DWORD))(*(_DWORD *)this + 724))( this, 5, v3[323]); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source