// // SetupInteractObjectPopup::onPlusButton from 0x140424360 to 0x1404243fe (158 bytes) // // 2 xrefs: // > @ 0x1405e58a8 // > @ 0x1406d96c8 // // 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 SetupInteractObjectPopup::onPlusButton(SetupInteractObjectPopup *a1, cocos2d::CCObject *a2) { __int64 v2; // r8 __int64 v4; // rcx int NextFreeItemID; // eax std::unordered_set v6; // [rsp+20h] [rbp-48h] BYREF void *v7; // [rsp+80h] [rbp+18h] BYREF LODWORD(v7) = 0; sub_14005E660((__int64)&v6, &v7, v2); 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; } NextFreeItemID = LevelEditorLayer::getNextFreeItemID(*(LevelEditorLayer **)(v4 + 528), &v6); SetupTriggerPopup::updateValue(a1, 80, (float)NextFreeItemID); sub_14005D100((__int64)&v6._Vec); sub_14005D870((void **)&v6._List._Mypair._Myval2._Myhead); }
GD Web Decomp Icon

GD Web Decomp

Raw Source