// // EditorUI::updatePanDecay from 0x6efcb4 to 0x6efd94 (224 bytes) // // 0 xrefs: // // 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:57:34 +0000 // int __fastcall EditorUI::updatePanDecay(EditorUI *this, float a2, int a3, int a4) { float *v4; // r6 float *v5; // r5 float v6; // s12 float v8; // s14 float v9; // s15 float v10; // s12 float v11; // s13 int result; // r0 float v13; // [sp+4h] [bp-Ch] BYREF int v14; // [sp+8h] [bp-8h] int v15; // [sp+Ch] [bp-4h] v13 = a2; v14 = a3; v15 = a4; v4 = (float *)((char *)this + 1084); v5 = (float *)((char *)this + 1088); v6 = *((float *)this + 271); v8 = (float)(v6 * a2) * 15.0; v9 = (float)(*((float *)this + 272) * a2) * 15.0; v10 = v6 - v8; v11 = *((float *)this + 272) - v9; *((float *)this + 271) = v10; *((float *)this + 272) = v11; if ( fabsf(v10) < 0.1 ) { v8 = v8 + v10; *v4 = 0.0; } if ( fabsf(v11) < 0.1 ) { v9 = v9 + v11; *v5 = 0.0; } cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, v8, v9); EditorUI::moveGamelayer(this, (int)&v13); result = EditorUI::updateSlider(this); if ( *v4 == 0.0 && *v5 == 0.0 ) { v14 = 0; v13 = COERCE_FLOAT(EditorUI::updatePanDecay); result = cocos2d::CCNode::unschedule(this, EditorUI::updatePanDecay, 0); *((_BYTE *)this + 1092) = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source