PopBatteryAdd

VOID __stdcall PopBatteryAdd(_POP_POLICY_DEVICE *PolicyDevice){
  __int64 v2; 
  WCHAR v3; 

  KeInitializeEvent((INT64)&PolicyDevice[1].DeviceType, 1, 0);
  if( ++dword_140C23530 == 1 )
  {
    PopAcquirePolicyLock();
    if( *(&stru_140C23628 + 2102) != 1 )
    {
      *(&stru_140C23628 + 2102) = 1;
      PopResetCurrentPolicies();
    }
    PopReleasePolicyLock();
    PopCadTriggerDriverLoad(1u, v2, v3);
  }
  PopAcquireRwLockExclusive((_POP_RW_LOCK *)&PopCB);
  byte_140C23538 = 1;
  PopBatteryWaitTag((__int64)PolicyDevice);
  PopBatteryQueueWork(8i64);
  PopReleaseRwLock((_POP_RW_LOCK *)&PopCB);
}

Referenced by:

No references.