// // Slider::init from 0x140084200 to 0x14008440b (523 bytes) // // 2 xrefs: // > Slider::create @ 0x140084800 // > @ 0x140912470 // // 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:25:56 +0000 // // Hidden C++ exception states: #wind=3 char *__fastcall Slider::init(__int64 a1, __int64 a2, __int64 a3, __int64 a4, float a5) { char *v9; // rdi __int64 v10; // rbx __int64 v11; // rax char *v12; // rbx char *v14; // [rsp+30h] [rbp-28h] BYREF v9 = (char *)operator new(0x1E8u); v14 = v9; memset(v9, 0, 0x1E8u); cocos2d::CCMenu::CCMenu((cocos2d::CCMenu *)v9); *(_QWORD *)v9 = &SliderTouchLogic::`vftable'; *((_QWORD *)v9 + 40) = &SliderTouchLogic::`vftable'; *((_QWORD *)v9 + 41) = &SliderTouchLogic::`vftable'; *((_QWORD *)v9 + 42) = &SliderTouchLogic::`vftable'; *((_QWORD *)v9 + 43) = &SliderTouchLogic::`vftable'; *((_QWORD *)v9 + 44) = &SliderTouchLogic::`vftable'; *((_QWORD *)v9 + 51) = &SliderTouchLogic::`vftable'; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v9 + 476)); if ( cocos2d::CCMenu::init((cocos2d::CCMenu *)v9) ) { v9[484] = 0; *((float *)v9 + 113) = a5 * 200.0; v10 = *(_QWORD *)v9; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, 0.0, 0.0); (*(void (__fastcall **)(char *, __int64))(v10 + 184))(v9, v11); v12 = (char *)operator new(0x1A8u); v14 = v12; cocos2d::CCMenuItemImage::CCMenuItemImage((cocos2d::CCMenuItemImage *)v12); *(_QWORD *)v12 = &SliderThumb::`vftable'; *((_QWORD *)v12 + 40) = &SliderThumb::`vftable'; v12[404] = 0; *((_DWORD *)v12 + 102) = -1082130432; *(_QWORD *)(v12 + 412) = 0; *((_DWORD *)v12 + 100) = 1128792064; if ( (unsigned __int8)cocos2d::CCMenuItemImage::initWithNormalImage(v12, a3, a4, 0, a1, a2) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v12); } else { (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v12 + 8LL))(v12, 1); v12 = nullptr; } *((_QWORD *)v9 + 57) = v12; (*(void (__fastcall **)(char *, char *))(*(_QWORD *)v9 + 464LL))(v9, v12); (*(void (__fastcall **)(_QWORD))(**((_QWORD **)v9 + 57) + 160LL))(*((_QWORD *)v9 + 57)); v9[472] = 0; cocos2d::CCObject::autorelease((cocos2d::CCObject *)v9); return v9; } else { (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v9 + 8LL))(v9, 1); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source