// // GJUINode::updateSize from 0x6eeb94 to 0x6eec44 (176 bytes) // // 6 xrefs: // > GJUINode::updateWidth @ 0x6eec48 // > GJUINode::updateHeight @ 0x6eec54 // > GJUINode::init @ 0x6efe78 // > GJUINode::loadFromConfig @ 0x6f004c // > TouchControlEditLayer::ccTouchMoved @ 0xd04a84 // > @ 0x4d6f8 // // 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 12:51:47 +0000 // __int64 __fastcall GJUINode::updateSize(GJUINode *this, float a2, float a3) { float v3; // s2 float v6; // s1 float v7; // s0 float v8; // s1 _BYTE v10[16]; // [xsp+38h] [xbp+38h] BYREF v3 = a2; if ( a2 <= 10.0 ) { v6 = 10.0; v3 = 10.0; v7 = -5.0; if ( a3 > 10.0 ) goto LABEL_3; LABEL_6: a3 = v6; v8 = -5.0; goto LABEL_4; } v6 = 10.0; v7 = a2 * -0.5; if ( a3 <= 10.0 ) goto LABEL_6; LABEL_3: v8 = a3 * -0.5; LABEL_4: cocos2d::CCRect::CCRect((cocos2d::CCRect *)v10, v7, v8, v3, a3); cocos2d::CCRect::operator=((char *)this + 336, v10); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source