// // ConfigureValuePopup::addInfoAlertButton from 0x90c71c to 0x90c93c (544 bytes) // // 2 xrefs: // > SetGroupIDLayer::onGroupIDOptions @ 0x9758ec // > @ 0x62580 // // 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 ConfigureValuePopup::addInfoAlertButton(__int64 a1) { cocos2d::CCDirector *v2; // x0 _DWORD *v3; // x22 void *v4; // x0 void *v5; // x0 __int64 *v6; // x0 __int64 v7; // x2 cocos2d::CCNode *v8; // x24 void (__fastcall *v9)(_DWORD *, __int64 *, float, float); // x20 unsigned int *v11; // x1 int v12; // w2 unsigned int *v13; // x1 int v14; // w2 float v15; // [xsp+60h] [xbp+60h] float v16; // [xsp+64h] [xbp+64h] cocos2d::CCPoint v17; // [xsp+68h] [xbp+68h] BYREF __int64 v18; // [xsp+70h] [xbp+70h] BYREF cocos2d::CCPoint v19; // 0:kr08_8.8 v2 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v2); sub_D18D28(&v17); sub_D18D28(&v18); v3 = (_DWORD *)InfoAlertButton::create(0.8); v4 = (void *)(v18 - 24); if ( (__int64 *)(v18 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v11 = (unsigned int *)(v18 - 8); do v12 = __ldaxr(v11); while ( __stlxr(v12 - 1, v11) ); } else { v12 = *(_DWORD *)(v18 - 8); *(_DWORD *)(v18 - 8) = v12 - 1; } if ( v12 <= 0 ) operator delete(v4); } v5 = (void *)(*(_QWORD *)&v17 - 24LL); if ( (__int64 *)(*(_QWORD *)&v17 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v13 = (unsigned int *)(*(_QWORD *)&v17 - 8LL); do v14 = __ldaxr(v13); while ( __stlxr(v14 - 1, v13) ); } else { v14 = *(_DWORD *)(*(_QWORD *)&v17 - 8LL); *(_DWORD *)(*(_QWORD *)&v17 - 8LL) = v14 - 1; } if ( v14 <= 0 ) operator delete(v5); } v6 = *(__int64 **)(a1 + 544); v7 = *v6; v3[122] = 1063675494; (*(void (__fastcall **)(__int64 *, _DWORD *))(v7 + 440))(v6, v3); v8 = *(cocos2d::CCNode **)(a1 + 544); v9 = *(void (__fastcall **)(_DWORD *, __int64 *, float, float))(*(_QWORD *)v3 + 184LL); cocos2d::CCPoint::CCPoint( &v17, (float)((float)(v15 * 0.5) + 130.0) - 17.0, (float)((float)(v16 * 0.5) + 100.0) - 17.0); v19 = cocos2d::CCNode::convertToNodeSpace(v8, &v17); v9(v3, &v18, v19.x, v19.y); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source