// // SetupOpacityPopup::textChanged from 0x5e950c to 0x5e9610 (260 bytes) // // 1 xrefs: // > `non-virtual thunk to'SetupOpacityPopup::textChanged @ 0x5e9620 // // 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:54:21 +0000 // int __fastcall SetupOpacityPopup::textChanged(int this, CCTextInputNode *a2) { int v2; // r4 char *v4; // r0 char *v5; // r0 double v6; // d8 const char *v7; // r1 cocos2d::CCString *v8; // r0 float v9; // s15 char v10; // [sp+0h] [bp-14h] BYREF _BYTE v11[7]; // [sp+1h] [bp-13h] BYREF char *v12; // [sp+8h] [bp-Ch] v2 = this; if ( !*(_BYTE *)(this + 568) ) { if ( (*(int (__fastcall **)(CCTextInputNode *))(*(_DWORD *)a2 + 32))(a2) == 3 ) { CCTextInputNode::getString((CCTextInputNode *)&v10, (int)a2); if ( (v10 & 1) != 0 ) v4 = v12; else v4 = v11; *(_DWORD *)(v2 + 740) = atoi(v4); std::string::~string((int)&v10); SetupOpacityPopup::updateTargetID((SetupOpacityPopup *)v2); return SetupTriggerPopup::updateEditorLabel((SetupTriggerPopup *)v2); } else { this = (*(int (__fastcall **)(CCTextInputNode *))(*(_DWORD *)a2 + 32))(a2); if ( this == 4 ) { CCTextInputNode::getString((CCTextInputNode *)&v10, (int)a2); if ( (v10 & 1) != 0 ) v5 = v12; else v5 = v11; v6 = atof(v5); std::string::~string((int)&v10); *(float *)&v6 = v6; v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", v7, *(float *)&v6); *(_DWORD *)(v2 + 736) = cocos2d::CCString::floatValue(v8); SetupOpacityPopup::updateDuration((_DWORD *)v2); v9 = *(float *)(v2 + 736) / 10.0; if ( v9 >= 1.0 ) { v9 = 1.0; } else if ( v9 <= 0.0 ) { v9 = 0.0; } return Slider::setValue(*(Slider **)(v2 + 724), v9); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source