// // EditButtonBar::onDotClicked from 0x140177b90 to 0x140177c34 (164 bytes) // // 3 xrefs: // > EditButtonBar::loadFromItems @ 0x1401777f9 // > @ 0x140918614 // > @ 0x140918620 // // This function is hookable on this platform (idp: pc, 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 11:27:33 +0000 // __int64 __fastcall EditButtonBar::onDotClicked(__int64 a1, __int64 a2) { __int64 v4; // rcx int v5; // ebx cocos2d::CCArray *v6; // rcx signed int v7; // r8d __int64 result; // rax __int64 v9; // rax int v10; // eax v4 = *(_QWORD *)(a1 + 344); v5 = *(_DWORD *)(v4 + 588); if ( *(_BYTE *)(v4 + 456) ) v6 = *(cocos2d::CCArray **)(v4 + 448); else v6 = *(cocos2d::CCArray **)(v4 + 480); v7 = cocos2d::CCArray::count(v6); if ( v5 <= 0 ) { for ( ; v5 < 0; v5 += v7 ) ; } else { v5 %= v7; } result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); if ( (_DWORD)result != v5 ) { if ( *(_BYTE *)(a1 + 332) ) { v9 = EditorSFXManager::sharedState(); EditorSFXManager::playAction(v9, 278); } v10 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); return EditButtonBar::goToPage(a1, v10); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source