// // SetupRandTriggerPopup::textChanged from 0xab3090 to 0xab3254 (452 bytes) // // 3 xrefs: // > `non-virtual thunk to'SetupRandTriggerPopup::textChanged @ 0xab3258 // > @ 0xf3ac0 // > @ 0x14a7448 // // 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:00:57 +0000 // __int64 __fastcall SetupRandTriggerPopup::textChanged(SetupRandTriggerPopup *this, CCTextInputNode *a2) { char *v4; // x0 const char *v5; // x1 float v6; // s8 cocos2d::CCString *v7; // x0 int v8; // s0 char *v9; // x21 char *v10; // x21 __int64 v12[2]; // [xsp+40h] [xbp+40h] BYREF char *v13; // [xsp+50h] [xbp+50h] if ( !*((_BYTE *)this + 744) ) { if ( (*(unsigned int (__fastcall **)(CCTextInputNode *))(*(_QWORD *)a2 + 64LL))(a2) == 3 ) { CCTextInputNode::getString(a2, v12); if ( (v12[0] & 1) != 0 ) { v9 = v13; *((_DWORD *)this + 264) = atoi(v13); operator delete(v9); } else { *((_DWORD *)this + 264) = atoi((const char *)v12 + 1); } SetupRandTriggerPopup::updateTargetID(this); SetupTriggerPopup::updateEditorLabel(this); } else if ( (*(unsigned int (__fastcall **)(CCTextInputNode *))(*(_QWORD *)a2 + 64LL))(a2) == 5 ) { CCTextInputNode::getString(a2, v12); if ( (v12[0] & 1) != 0 ) { v10 = v13; *((_DWORD *)this + 265) = atoi(v13); operator delete(v10); } else { *((_DWORD *)this + 265) = atoi((const char *)v12 + 1); } SetupRandTriggerPopup::updateTargetID2(this); SetupTriggerPopup::updateEditorLabel(this); } else if ( (*(unsigned int (__fastcall **)(CCTextInputNode *))(*(_QWORD *)a2 + 64LL))(a2) == 4 ) { CCTextInputNode::getString(a2, v12); v4 = (char *)v12 + 1; if ( (v12[0] & 1) != 0 ) v4 = v13; v6 = atof(v4); if ( (v12[0] & 1) != 0 ) operator delete(v13); v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.04f", v5, v6); cocos2d::CCString::floatValue(v7); *((_DWORD *)this + 258) = v8; SetupRandTriggerPopup::updateChance(this); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source