// // SetupGradientPopup::onPlusButton from 0x140421c90 to 0x140421d4b (187 bytes) // // 2 xrefs: // > @ 0x1405e4a80 // > @ 0x1406d9578 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=2 void SetupGradientPopup::onPlusButton(SetupGradientPopup *a1, cocos2d::CCObject *a2) { __int64 v3; // r8 __int64 v4; // rcx int NextFreeGradientID; // ebx std::unordered_set v6; // [rsp+20h] [rbp-48h] BYREF void *v7; // [rsp+78h] [rbp+10h] BYREF if ( a2->getTag(a2) == 209 ) { LODWORD(v7) = 0; sub_14005E660((__int64)&v6, &v7, v3); v4 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v7 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v4 = qword_1406C2ED8; } NextFreeGradientID = LevelEditorLayer::getNextFreeGradientID(*(LevelEditorLayer **)(v4 + 528), &v6); sub_14005D100((__int64)&v6._Vec); sub_14005D870((void **)&v6._List._Mypair._Myval2._Myhead); SetupTriggerPopup::updateValue(a1, 209, (float)NextFreeGradientID); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source