// // BonusDropdown::create from 0x56b7e0 to 0x56b98c (428 bytes) // // 1 xrefs: // > @ 0x91a28 // // 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 // __int64 __fastcall BonusDropdown::create(__int64 a1, int a2) { __int64 v4; // x19 int v5; // w21 void *v6; // x0 __int64 v7; // x1 __int64 v8; // x0 unsigned int *v10; // x2 int v11; // w1 __int64 v12; // [xsp+50h] [xbp+50h] BYREF v4 = operator new(0x158u); cocos2d::CCNode::CCNode((cocos2d::CCNode *)v4); *(_QWORD *)(v4 + 320) = 0; *(_QWORD *)(v4 + 336) = 0; *(_QWORD *)v4 = &off_1133E00; *(_DWORD *)(v4 + 328) = 0; sub_D18D28(&v12, a1); v5 = (unsigned __int8)BonusDropdown::init((float *)v4, (__int64)&v12, a2); v6 = (void *)(v12 - 24); if ( (__int64 *)(v12 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v10 = (unsigned int *)(v12 - 8); do v11 = __ldaxr(v10); while ( __stlxr(v11 - 1, v10) ); } else { v11 = *(_DWORD *)(v12 - 8); *(_DWORD *)(v12 - 8) = v11 - 1; } if ( v11 <= 0 ) operator delete(v6); } if ( v5 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4); } else { v7 = *(_QWORD *)v4; v8 = v4; v4 = 0; (*(void (__fastcall **)(__int64))(v7 + 16))(v8); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source