// // EditorUI::updatePanDecay from 0xbd4d74 to 0xbd4e70 (252 bytes) // // 4 xrefs: // > @ 0x459a0 // > EditorUI::updatePanDecay @ 0xbd4e5c // > EditorUI::scrollWheel @ 0xbd6dec // > @ 0x15414f8 // // 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:03:39 +0000 // __int64 __fastcall EditorUI::updatePanDecay(EditorUI *this, float a2) { float v3; // s3 float v4; // s2 float v5; // s1 float v6; // s0 float v7; // s1 float v8; // s3 float v9; // s2 _BYTE v11[8]; // [xsp+30h] [xbp+30h] BYREF v3 = *((float *)this + 409); v4 = *((float *)this + 410); v5 = v4 * a2; v6 = (float)(v3 * a2) * 15.0; v7 = v5 * 15.0; v8 = v3 - v6; v9 = v4 - v7; *((float *)this + 409) = v8; *((float *)this + 410) = v9; if ( fabsf(v8) < 0.1 ) { v6 = v6 + v8; *((_DWORD *)this + 409) = 0; } if ( fabsf(v9) < 0.1 ) { v7 = v7 + v9; *((_DWORD *)this + 410) = 0; } cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, v6, v7); EditorUI::moveGamelayer(this); EditorUI::updateSlider(this); if ( *((float *)this + 409) == 0.0 && *((float *)this + 410) == 0.0 ) { cocos2d::CCNode::unschedule(this, EditorUI::updatePanDecay, 0); *((_BYTE *)this + 1644) = 0; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source