// // CustomizeObjectLayer::getButtonByTag from 0x140143db0 to 0x140143e31 (129 bytes) // // 5 xrefs: // > CustomizeObjectLayer::colorSetupClosed @ 0x1401424ac // > CustomizeObjectLayer::onNextColorChannel @ 0x14014308b // > CustomizeObjectLayer::toggleVisible @ 0x1401434b7 // > CustomizeObjectLayer::updateCurrentSelection @ 0x1401436c1 // > @ 0x140917450 // // 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:10 +0000 // struct cocos2d::CCObject *__fastcall CustomizeObjectLayer::getButtonByTag(__int64 a1, int a2) { unsigned int v4; // ebx struct cocos2d::CCObject *v5; // rsi v4 = 0; if ( !cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 704)) ) return nullptr; while ( 1 ) { v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 704), v4); if ( (*(unsigned int (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v5 + 56LL))(v5) == a2 ) break; if ( ++v4 >= cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 704)) ) return nullptr; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source