// // SliderTouchLogic::init from 0x1002ef0a4 to 0x1002ef190 (236 bytes) // // 1 xrefs: // > SliderTouchLogic::create @ 0x1002ef03c // // 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 // bool __fastcall SliderTouchLogic::init( SliderTouchLogic *a1, cocos2d::CCNode *a2, cocos2d::SEL_MenuHandler a3, const char *a4, const char *a5, float a6) { size_t adj; // x23 void (__cdecl *ptr)(cocos2d::CCObject *); // x24 _BOOL4 v13; // w20 __n128 v14; // q0 __n128 v15; // q1 SliderThumb *v16; // x0 int v18; // [xsp+8h] [xbp-58h] BYREF cocos2d::SEL_MenuHandler v19; // 0:x1.16 adj = a3.adj; ptr = a3.ptr; v13 = cocos2d::CCMenu::init(a1); if ( v13 ) { a1->m_rotated = 0; a1->m_length = a6 * 200.0; v14.n128_u32[0] = 0; v15.n128_u32[0] = 0; sub_100022980(v14, v15, &v18); ((void (__fastcall *)(SliderTouchLogic *, int *))a1->setPosition)(a1, &v18); v19.ptr = ptr; v19.adj = adj; v16 = SliderThumb::create(a2, v19, a4, a5); a1->m_thumb = v16; ((void (__fastcall *)(SliderTouchLogic *, SliderThumb *))a1->addChild)(a1, v16); ((void (__fastcall *)(SliderThumb *, float))a1->m_thumb->setScale)(a1->m_thumb, a6); a1->m_activateThumb = 0; } return v13; }
GD Web Decomp Icon

GD Web Decomp

Raw Source